Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / stups-pierone / default.nix
blobb99ac4cf520bfe989e749395f4ad9115d5692be4
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , requests
5 , stups-cli-support
6 , stups-zign
7 , pytest
8 , pytest-cov
9 , hypothesis
10 , pythonOlder
13 buildPythonPackage rec {
14   pname = "stups-pierone";
15   version = "1.1.51";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "zalando-stups";
22     repo = "pierone-cli";
23     rev = version;
24     hash = "sha256-OypGYHfiFUfcUndylM2N2WfPnfXXJ4gvWypUbltYAYE=";
25   };
27   propagatedBuildInputs = [
28     requests
29     stups-cli-support
30     stups-zign
31   ];
33   preCheck = ''
34     export HOME=$TEMPDIR
35   '';
37   nativeCheckInputs = [
38     pytest
39     pytest-cov
40     hypothesis
41   ];
43   pythonImportsCheck = [
44     "pierone"
45   ];
47   meta = with lib; {
48     description = "Convenient command line client for STUPS' Pier One Docker registry";
49     homepage = "https://github.com/zalando-stups/pierone-cli";
50     license = licenses.asl20;
51     maintainers = with maintainers; [ mschuwalow ];
52   };