1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/tools/admin/swiftclient/default.nix

33 lines
919 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchPypi, requests, six, pbr, setuptools }:
2018-12-10 07:43:42 +00:00
buildPythonApplication rec {
pname = "python-swiftclient";
2020-10-15 05:05:30 +01:00
version = "3.10.1";
2018-12-10 07:43:42 +00:00
src = fetchPypi {
inherit pname version;
2020-10-15 05:05:30 +01:00
sha256 = "0176b17aa14cc2ef82a327dc70b66af670bdb39dcf836896f81269db376932ea";
2018-12-10 07:43:42 +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; {
2020-03-31 04:27:58 +01:00
homepage = "https://github.com/openstack/python-swiftclient";
2018-12-10 07:43:42 +00:00
description = "Python bindings to the OpenStack Object Storage API";
license = licenses.asl20;
maintainers = with maintainers; [ c0deaddict ];
};
}