2020-01-08 16:05:00 +00:00
|
|
|
{ lib, buildPythonApplication, fetchPypi, requests, six, pbr, setuptools }:
|
2018-12-10 07:43:42 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "python-swiftclient";
|
|
|
|
version = "3.6.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0sv6z72zdwzwdjng0djk3l2maryn9pz3khf69yq5ig2ycz8hh0qv";
|
|
|
|
};
|
|
|
|
|
2020-01-08 16:05:00 +00:00
|
|
|
propagatedBuildInputs = [ requests six pbr setuptools ];
|
2018-12-10 07:43:42 +00:00
|
|
|
|
|
|
|
# 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;
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|