1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 requests,
6 stups-cli-support,
7 stups-zign,
8 pytest,
9 pytest-cov,
10 isPy3k,
11}:
12
13buildPythonPackage rec {
14 pname = "stups-fullstop";
15 version = "1.1.31";
16 format = "setuptools";
17 disabled = !isPy3k;
18
19 src = fetchFromGitHub {
20 owner = "zalando-stups";
21 repo = "fullstop-cli";
22 rev = version;
23 sha256 = "1cpzz1b8g2mich7c1p74vfgw70vlxpgwi82a1ld82wv3srwqa0h3";
24 };
25
26 propagatedBuildInputs = [
27 requests
28 stups-cli-support
29 stups-zign
30 ];
31
32 preCheck = "
33 export HOME=$TEMPDIR
34 ";
35
36 nativeCheckInputs = [
37 pytest
38 pytest-cov
39 ];
40
41 meta = with lib; {
42 description = "Convenience command line tool for fullstop. audit reporting.";
43 homepage = "https://github.com/zalando-stups/stups-fullstop-cli";
44 license = licenses.asl20;
45 maintainers = [ maintainers.mschuwalow ];
46 };
47}