uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
73
pkgs/development/python-modules/kubernetes/default.nix
Normal file
73
pkgs/development/python-modules/kubernetes/default.nix
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# propgatedBuildInputs
|
||||
, adal
|
||||
, certifi
|
||||
, google-auth
|
||||
, python-dateutil
|
||||
, pyyaml
|
||||
, requests
|
||||
, requests-oauthlib
|
||||
, setuptools
|
||||
, six
|
||||
, urllib3
|
||||
, websocket-client
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kubernetes";
|
||||
version = "23.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubernetes-client";
|
||||
repo = "python";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-d6S7cMTiwIgqOcN9j3yeEXUNSro9I2b8HLJw1oGKjWI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
adal
|
||||
certifi
|
||||
google-auth
|
||||
python-dateutil
|
||||
pyyaml
|
||||
requests
|
||||
requests-oauthlib
|
||||
setuptools
|
||||
six
|
||||
urllib3
|
||||
websocket-client
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"kubernetes"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# AssertionError: <class 'urllib3.poolmanager.ProxyManager'> != <class 'urllib3.poolmanager.Poolmanager'>
|
||||
"test_rest_proxycare"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Kubernetes Python client";
|
||||
homepage = "https://github.com/kubernetes-client/python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ lsix SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue