diff options
author | Jos van Bakel <josvanbakel@protonmail.com> | 2018-12-10 08:43:42 +0100 |
---|---|---|
committer | Jos van Bakel <josvanbakel@protonmail.com> | 2018-12-13 21:18:09 +0100 |
commit | 35aab266e3f6bb11bf1930b1264bcf5643c5197c (patch) | |
tree | f5e3f11acf6b4b69c4ac635dee3939451187e6ff /pkgs/tools/admin | |
parent | 48e49d01b6d3c3ecc30e44b4db7fb03197f7e932 (diff) | |
download | nixlib-35aab266e3f6bb11bf1930b1264bcf5643c5197c.tar nixlib-35aab266e3f6bb11bf1930b1264bcf5643c5197c.tar.gz nixlib-35aab266e3f6bb11bf1930b1264bcf5643c5197c.tar.bz2 nixlib-35aab266e3f6bb11bf1930b1264bcf5643c5197c.tar.lz nixlib-35aab266e3f6bb11bf1930b1264bcf5643c5197c.tar.xz nixlib-35aab266e3f6bb11bf1930b1264bcf5643c5197c.tar.zst nixlib-35aab266e3f6bb11bf1930b1264bcf5643c5197c.zip |
swiftclient: init at 3.6.0
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r-- | pkgs/tools/admin/swiftclient/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/admin/swiftclient/default.nix b/pkgs/tools/admin/swiftclient/default.nix new file mode 100644 index 000000000000..ae8e5cac68c0 --- /dev/null +++ b/pkgs/tools/admin/swiftclient/default.nix @@ -0,0 +1,32 @@ +{ lib, buildPythonApplication, fetchPypi, requests, six, pbr }: + +buildPythonApplication rec { + pname = "python-swiftclient"; + version = "3.6.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0sv6z72zdwzwdjng0djk3l2maryn9pz3khf69yq5ig2ycz8hh0qv"; + }; + + propagatedBuildInputs = [ requests six pbr ]; + + # 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 ]; + }; +} |