python312Packages.kubernetes-asyncio: init at 31.1.0
This commit is contained in:
parent
66a897777c
commit
e4f927aa37
@ -0,0 +1,69 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
coreutils,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
aiohttp,
|
||||
certifi,
|
||||
python-dateutil,
|
||||
pyyaml,
|
||||
six,
|
||||
urllib3,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kubernetes-asyncio";
|
||||
version = "31.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomplus";
|
||||
repo = "kubernetes_asyncio";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-YKBqhUeLqLiQ6bK235zTm4salnSLUxl4DUiFLQSjWqw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace kubernetes_asyncio/config/google_auth_test.py \
|
||||
--replace-fail "/bin/echo" "${lib.getExe' coreutils "echo"}"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
certifi
|
||||
python-dateutil
|
||||
pyyaml
|
||||
six
|
||||
urllib3
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"kubernetes_asyncio"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
description = "Python asynchronous client library for Kubernetes http://kubernetes.io";
|
||||
homepage = "https://github.com/tomplus/kubernetes_asyncio";
|
||||
changelog = "https://github.com/tomplus/kubernetes_asyncio/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
@ -6845,6 +6845,8 @@ self: super: with self; {
|
||||
|
||||
kubernetes = callPackage ../development/python-modules/kubernetes { };
|
||||
|
||||
kubernetes-asyncio = callPackage ../development/python-modules/kubernetes-asyncio { };
|
||||
|
||||
kurbopy = callPackage ../development/python-modules/kurbopy { };
|
||||
|
||||
l18n = callPackage ../development/python-modules/l18n { };
|
||||
|
Loading…
Reference in New Issue
Block a user