diff options
Diffstat (limited to 'pkgs/development/python-modules/swift/default.nix')
-rw-r--r-- | pkgs/development/python-modules/swift/default.nix | 67 |
1 files changed, 35 insertions, 32 deletions
diff --git a/pkgs/development/python-modules/swift/default.nix b/pkgs/development/python-modules/swift/default.nix index ec4f1b7a3963..26806dea71a8 100644 --- a/pkgs/development/python-modules/swift/default.nix +++ b/pkgs/development/python-modules/swift/default.nix @@ -1,35 +1,36 @@ -{ lib -, buildPythonPackage -, fetchPypi -, boto3 -, cryptography -, eventlet -, greenlet -, iana-etc -, installShellFiles -, libredirect -, lxml -, mock -, netifaces -, pastedeploy -, pbr -, pyeclib -, requests -, setuptools -, six -, stestr -, swiftclient -, xattr +{ + lib, + buildPythonPackage, + fetchPypi, + boto3, + cryptography, + eventlet, + greenlet, + iana-etc, + installShellFiles, + libredirect, + lxml, + mock, + netifaces, + pastedeploy, + pbr, + pyeclib, + requests, + setuptools, + six, + stestr, + swiftclient, + xattr, }: buildPythonPackage rec { pname = "swift"; - version = "2.33.0"; - format = "setuptools"; + version = "2.34.0"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-4TlJcquK8MC9zQfLKmb88B5xHje1kbPD2jSLiR+N8hs="; + hash = "sha256-ZvdWWvPUdZIEadxV0nhqgTXhgJJu+hD1LnYCAP+9gpM="; }; postPatch = '' @@ -37,9 +38,11 @@ buildPythonPackage rec { rm test/functional/s3api/{__init__.py,s3_test_client.py} ''; - nativeBuildInputs = [ - installShellFiles + nativeBuildInputs = [ installShellFiles ]; + + build-system = [ pbr + setuptools ]; propagatedBuildInputs = [ @@ -56,17 +59,17 @@ buildPythonPackage rec { xattr ]; - postInstall = '' - installManPage doc/manpages/* - ''; - - nativeCheckInputs = [ + dependencies = [ boto3 mock stestr swiftclient ]; + postInstall = '' + installManPage doc/manpages/* + ''; + # a lot of tests currently fail while establishing a connection doCheck = false; |