22 buildPythonPackage rec {
27 disabled = pythonOlder "3.6";
29 src = fetchFromGitHub {
30 owner = "kubernetes-client";
32 rev = "refs/tags/v${version}";
33 hash = "sha256-zOooibXkk0iA6IYJViz+SIMgHwG0fr4WR3ZjhgIeUjE=";
52 optional-dependencies = {
56 pythonImportsCheck = [ "kubernetes" ];
61 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
63 disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
64 # AssertionError: <class 'urllib3.poolmanager.ProxyManager'> != <class 'urllib3.poolmanager.Poolmanager'>
69 description = "Kubernetes Python client";
70 homepage = "https://github.com/kubernetes-client/python";
71 changelog = "https://github.com/kubernetes-client/python/releases/tag/v${version}";
72 license = licenses.asl20;
73 maintainers = with maintainers; [ lsix ];