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