Merge pull request #137814 from NixOS/swiftclient
python39Packages.python-swiftclient: adopt into openstack team, fix missing keystone client, remove duplicated propagations, enable tests
This commit is contained in:
commit
2b9d9b36cf
1 changed files with 19 additions and 15 deletions
|
@ -1,4 +1,12 @@
|
|||
{ lib, buildPythonApplication, fetchPypi, requests, six, pbr, setuptools }:
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, mock
|
||||
, openstacksdk
|
||||
, pbr
|
||||
, python-keystoneclient
|
||||
, stestr
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "python-swiftclient";
|
||||
|
@ -9,26 +17,22 @@ buildPythonApplication rec {
|
|||
sha256 = "sha256-MTtEShTQ+bYoy/PoxS8sQnFlj56KM9QiKFHC5PD3t6A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pbr ];
|
||||
propagatedBuildInputs = [ pbr python-keystoneclient ];
|
||||
|
||||
propagatedBuildInputs = [ requests six setuptools ];
|
||||
checkInputs = [
|
||||
mock
|
||||
openstacksdk
|
||||
stestr
|
||||
];
|
||||
|
||||
# For the tests the following requirements are needed:
|
||||
# https://github.com/openstack/python-swiftclient/blob/master/test-requirements.txt
|
||||
#
|
||||
# The ones missing in nixpkgs (currently) are:
|
||||
# - hacking
|
||||
# - keystoneauth
|
||||
# - oslosphinx
|
||||
# - stestr
|
||||
# - reno
|
||||
# - openstackdocstheme
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/openstack/python-swiftclient";
|
||||
description = "Python bindings to the OpenStack Object Storage API";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ c0deaddict SuperSandro2000 ];
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue