1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, requests 5, stups-cli-support 6, stups-zign 7, pytest 8, pytest-cov 9, isPy3k 10}: 11 12buildPythonPackage rec { 13 pname = "stups-fullstop"; 14 version = "1.1.31"; 15 disabled = !isPy3k; 16 17 src = fetchFromGitHub { 18 owner = "zalando-stups"; 19 repo = "fullstop-cli"; 20 rev = version; 21 sha256 = "1cpzz1b8g2mich7c1p74vfgw70vlxpgwi82a1ld82wv3srwqa0h3"; 22 }; 23 24 propagatedBuildInputs = [ 25 requests 26 stups-cli-support 27 stups-zign 28 ]; 29 30 preCheck = " 31 export HOME=$TEMPDIR 32 "; 33 34 checkInputs = [ 35 pytest 36 pytest-cov 37 ]; 38 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 }; 45}