Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / stups-pierone / default.nix
blobaaa049916411b85e30d91db3cbf4979b4df01ced
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , requests
5 , stups-cli-support
6 , stups-zign
7 , pytest
8 , pytestcov
9 , hypothesis
10 , isPy3k
13 buildPythonPackage rec {
14   pname = "stups-pierone";
15   version = "1.1.45";
16   disabled = !isPy3k;
18   src = fetchFromGitHub {
19     owner = "zalando-stups";
20     repo = "pierone-cli";
21     rev = version;
22     sha256 = "1ggfizw27wpcagbbk15xpfrhq6b250cx4278b5d7y8s438g128cs";
23   };
25   propagatedBuildInputs = [
26     requests
27     stups-cli-support
28     stups-zign
29   ];
31   preCheck = "
32     export HOME=$TEMPDIR
33   ";
35   checkInputs = [
36     pytest
37     pytestcov
38     hypothesis
39   ];
41   meta = with lib; {
42     description = "Convenient command line client for STUPS' Pier One Docker registry";
43     homepage = "https://github.com/zalando-stups/pierone-cli";
44     license = licenses.asl20;
45     maintainers = [ maintainers.mschuwalow ];
46   };