Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / stups-cli-support / default.nix
blob1ec1bb017dfa76e8ec6f90f35dbd2d9aed77c6de
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , clickclick
5 , dnspython
6 , requests
7 , pytest
8 , pytest-cov
9 , isPy3k
12 buildPythonPackage rec {
13   pname = "stups-cli-support";
14   version = "1.1.20";
15   disabled = !isPy3k;
17   src = fetchFromGitHub {
18     owner = "zalando-stups";
19     repo = "stups-cli-support";
20     rev = version;
21     sha256 = "1r6g29gd009p87m8a6wv4rzx7f0564zdv67qz5xys4wsgvc95bx0";
22   };
24   propagatedBuildInputs = [
25     clickclick
26     dnspython
27     requests
28   ];
30   preCheck = "export HOME=$TEMPDIR";
32   nativeCheckInputs = [
33     pytest
34     pytest-cov
35   ];
37   meta = with lib; {
38     description = "Helper library for all STUPS command line tools.";
39     homepage = "https://github.com/zalando-stups/stups-cli-support";
40     license = licenses.asl20;
41     maintainers = [ maintainers.mschuwalow ];
42   };