Skip to content

Commit

Permalink
vulnix: 1.2.2 -> 1.3.4
Browse files Browse the repository at this point in the history
The build needs the ZODB fix in PR #30925 to succeed.

(cherry picked from commit afc66e1)
  • Loading branch information
Christian Kauhaus authored and fpletz committed Oct 29, 2017
1 parent a47a5a7 commit 56b9886
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Expand Up @@ -111,6 +111,7 @@
christopherpoole = "Christopher Mark Poole <mail@christopherpoole.net>";
ciil = "Simon Lackerbauer <simon@lackerbauer.com>";
ckampka = "Christian Kampka <christian@kampka.net>";
ckauhaus = "Christian Kauhaus <christian@kauhaus.de>";
cko = "Christine Koppelt <christine.koppelt@gmail.com>";
cleverca22 = "Michael Bishop <cleverca22@gmail.com>";
cmcdragonkai = "Roger Qiu <roger.qiu@matrix.ai>";
Expand Down
14 changes: 7 additions & 7 deletions pkgs/tools/security/vulnix/default.nix
Expand Up @@ -3,19 +3,15 @@
pythonPackages.buildPythonApplication rec {
name = "${pname}-${version}";
pname = "vulnix";
version = "1.2.2";
version = "1.3.4";

src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "1ia9plziwach0bxnlcd33q30kcsf8sv0nf2jc78gsmrqnxjabr12";
sha256 = "1js1i86pgkkqc9yzp1rck7rmaz79klv4048r9z7v56fam0a6sg05";
};

buildInputs = with pythonPackages; [ flake8 pytest pytestcov ];

postPatch = ''
sed -i -e 's/==\([^=]\+\)/>=\1/g' setup.py
'';

propagatedBuildInputs = [
nix
] ++ (with pythonPackages; [
Expand All @@ -27,12 +23,16 @@ pythonPackages.buildPythonApplication rec {
zodb
]);

postPatch = ''
sed -i -e 's/==\([^=]\+\)/>=\1/g' setup.py
'';

checkPhase = "py.test";

meta = with stdenv.lib; {
description = "NixOS vulnerability scanner";
homepage = https://github.com/flyingcircusio/vulnix;
license = licenses.bsd2;
maintainers = with maintainers; [ plumps ];
maintainers = with maintainers; [ ckauhaus plumps ];
};
}

0 comments on commit 56b9886

Please sign in to comment.