mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 22:14:42 +00:00
python39Packages.keystoneauth1: init at 4.3.1
This commit is contained in:
parent
bb915c3840
commit
2e7f79bb2c
77
pkgs/development/python-modules/keystoneauth1/default.nix
Normal file
77
pkgs/development/python-modules/keystoneauth1/default.nix
Normal file
@ -0,0 +1,77 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, betamax
|
||||
, hacking
|
||||
, iso8601
|
||||
, lxml
|
||||
, oauthlib
|
||||
, os-service-types
|
||||
, oslo-config
|
||||
, oslo-utils
|
||||
, pbr
|
||||
, pycodestyle
|
||||
, pyyaml
|
||||
, requests
|
||||
, requests-kerberos
|
||||
, requests-mock
|
||||
, six
|
||||
, stestr
|
||||
, stevedore
|
||||
, testresources
|
||||
, testtools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keystoneauth1";
|
||||
version = "4.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "93605430a6d1424f31659bc5685e9dc1be9a6254e88c99f00cffc0a60c648a64";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# only a small portion of the listed packages are actually needed for running the tests
|
||||
# so instead of removing them one by one remove everything
|
||||
rm test-requirements.txt
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
betamax
|
||||
iso8601
|
||||
lxml
|
||||
oauthlib
|
||||
os-service-types
|
||||
pbr
|
||||
requests
|
||||
requests-kerberos
|
||||
six
|
||||
stevedore
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
hacking
|
||||
oslo-config
|
||||
oslo-utils
|
||||
pycodestyle
|
||||
pyyaml
|
||||
requests-mock
|
||||
stestr
|
||||
testresources
|
||||
testtools
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "keystoneauth1" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Authentication Library for OpenStack Identity";
|
||||
homepage = "https://github.com/openstack/keystoneauth";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
@ -3968,6 +3968,8 @@ in {
|
||||
|
||||
keystone-engine = callPackage ../development/python-modules/keystone-engine { };
|
||||
|
||||
keystoneauth1 = callPackage ../development/python-modules/keystoneauth1 { };
|
||||
|
||||
keyutils = callPackage ../development/python-modules/keyutils {
|
||||
inherit (pkgs) keyutils;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user