diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-07-21 19:43:53 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-07-21 19:43:53 +0200 |
commit | ad47d658d1734353df834a05e45b98dae968550d (patch) | |
tree | 5ee2481126f5e29cf961e3b955b748609bc08f82 /pkgs/tools/security/vulnix/default.nix | |
parent | 8213ff161c461655aaff7d43984384dbca64b312 (diff) | |
parent | cc218fc91530529b84307faf6fa2dd8c5d395d6f (diff) | |
download | nixlib-ad47d658d1734353df834a05e45b98dae968550d.tar nixlib-ad47d658d1734353df834a05e45b98dae968550d.tar.gz nixlib-ad47d658d1734353df834a05e45b98dae968550d.tar.bz2 nixlib-ad47d658d1734353df834a05e45b98dae968550d.tar.lz nixlib-ad47d658d1734353df834a05e45b98dae968550d.tar.xz nixlib-ad47d658d1734353df834a05e45b98dae968550d.tar.zst nixlib-ad47d658d1734353df834a05e45b98dae968550d.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/security/vulnix/default.nix')
-rw-r--r-- | pkgs/tools/security/vulnix/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/tools/security/vulnix/default.nix b/pkgs/tools/security/vulnix/default.nix index 70640563aa31..4f2671aeacbf 100644 --- a/pkgs/tools/security/vulnix/default.nix +++ b/pkgs/tools/security/vulnix/default.nix @@ -1,17 +1,22 @@ -{ stdenv, pythonPackages, fetchurl, callPackage, nix, ronn }: +{ stdenv, pythonPackages, nix, ronn }: pythonPackages.buildPythonApplication rec { pname = "vulnix"; - version = "1.6.3"; + version = "1.7"; src = pythonPackages.fetchPypi { inherit pname version; - sha256 = "0ia71l0210dgcxf63bg07csx40nmpdghr4mszz91qrri7lsa5qqi"; + sha256 = "16228w0vakb515cnrk4akadh0m21abiv8rv574jarcsf7359xslj"; }; buildInputs = [ ronn ]; - checkInputs = with pythonPackages; [ freezegun pytest pytestcov pytest-flake8 ]; + checkInputs = with pythonPackages; [ + freezegun + pytest + pytestcov + pytest-flake8 + ]; propagatedBuildInputs = [ nix @@ -27,9 +32,7 @@ pythonPackages.buildPythonApplication rec { outputs = [ "out" "doc" ]; - postBuild = '' - make -C doc - ''; + postBuild = "make -C doc"; checkPhase = "py.test src/vulnix"; @@ -45,7 +48,7 @@ pythonPackages.buildPythonApplication rec { meta = with stdenv.lib; { description = "NixOS vulnerability scanner"; homepage = https://github.com/flyingcircusio/vulnix; - license = licenses.bsd2; + license = licenses.bsd3; maintainers = with maintainers; [ ckauhaus plumps ]; }; } |