2020-01-08 11:05:00 -05:00
|
|
|
{ lib, buildPythonApplication, fetchPypi, requests, six, pbr, setuptools }:
|
2018-12-10 08:43:42 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "python-swiftclient";
|
2021-09-09 20:39:10 +02:00
|
|
|
version = "3.12.0";
|
2018-12-10 08:43:42 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-09 20:39:10 +02:00
|
|
|
sha256 = "sha256-MTtEShTQ+bYoy/PoxS8sQnFlj56KM9QiKFHC5PD3t6A=";
|
2018-12-10 08:43:42 +01:00
|
|
|
};
|
|
|
|
|
2021-09-09 20:39:10 +02:00
|
|
|
nativeBuildInputs = [ pbr ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests six setuptools ];
|
2018-12-10 08:43:42 +01: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; {
|
2020-03-31 03:27:58 +00:00
|
|
|
homepage = "https://github.com/openstack/python-swiftclient";
|
2018-12-10 08:43:42 +01:00
|
|
|
description = "Python bindings to the OpenStack Object Storage API";
|
|
|
|
license = licenses.asl20;
|
2021-09-09 20:39:57 +02:00
|
|
|
maintainers = with maintainers; [ c0deaddict SuperSandro2000 ];
|
2018-12-10 08:43:42 +01:00
|
|
|
};
|
|
|
|
}
|