evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / stups-fullstop / default.nix
blob494c8ecf1e9eee8f3a38a9434ffc3a80e8ec64cb
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   pythonAtLeast,
6   requests,
7   stups-cli-support,
8   stups-zign,
9   pytest,
10   pytest-cov,
11   isPy3k,
14 buildPythonPackage rec {
15   pname = "stups-fullstop";
16   version = "1.1.31";
17   format = "setuptools";
18   disabled = !isPy3k;
20   src = fetchFromGitHub {
21     owner = "zalando-stups";
22     repo = "fullstop-cli";
23     rev = version;
24     sha256 = "1cpzz1b8g2mich7c1p74vfgw70vlxpgwi82a1ld82wv3srwqa0h3";
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   ];
42   meta = with lib; {
43     description = "Convenience command line tool for fullstop. audit reporting";
44     homepage = "https://github.com/zalando-stups/stups-fullstop-cli";
45     license = licenses.asl20;
46     maintainers = [ maintainers.mschuwalow ];
47     # Uses regex patterns deprecated in 3.9:
48     #     re.error: global flags not at the start of the expression at ...
49     broken = pythonAtLeast "3.11";
50   };