about summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorChristian Kauhaus <kc@flyingcircus.io>2018-07-20 15:24:40 +0200
committerChristian Kauhaus <kc@flyingcircus.io>2018-07-20 15:24:40 +0200
commit69454943b78cbf7bb126fe3f2d2b2e6dfeef565b (patch)
treea44cb24491bc575d247da5234e1026d2a229ca31 /pkgs/tools/security
parent871f3396a56c862b5f122a94c12a5946ee48b735 (diff)
downloadnixlib-69454943b78cbf7bb126fe3f2d2b2e6dfeef565b.tar
nixlib-69454943b78cbf7bb126fe3f2d2b2e6dfeef565b.tar.gz
nixlib-69454943b78cbf7bb126fe3f2d2b2e6dfeef565b.tar.bz2
nixlib-69454943b78cbf7bb126fe3f2d2b2e6dfeef565b.tar.lz
nixlib-69454943b78cbf7bb126fe3f2d2b2e6dfeef565b.tar.xz
nixlib-69454943b78cbf7bb126fe3f2d2b2e6dfeef565b.tar.zst
nixlib-69454943b78cbf7bb126fe3f2d2b2e6dfeef565b.zip
vulnix: 1.6.3 -> 1.7
The updated version brings selective whitelisting, i.e. when some CVEs
of a package are whitelisted and others are not, only the new CVEs are
reported.

Also correct license to match upstream BSD-3-Clause and clean up source.
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/vulnix/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/tools/security/vulnix/default.nix b/pkgs/tools/security/vulnix/default.nix
index 70640563aa31..6e099e5d7864 100644
--- a/pkgs/tools/security/vulnix/default.nix
+++ b/pkgs/tools/security/vulnix/default.nix
@@ -2,16 +2,21 @@
 
 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 ];
   };
 }