vulnix: 1.7.1 -> 1.8.0

This commit is contained in:
Christian Kauhaus 2019-03-09 18:37:42 +01:00
parent ea32c78599
commit 2172f4bd07

View File

@ -2,13 +2,14 @@
pythonPackages.buildPythonApplication rec {
pname = "vulnix";
version = "1.7.1";
version = "1.8.0";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "15c32976sgb5clixngi6z1fk5h02v1kn1a89h8rkbkvyhfnjgg8m";
sha256 = "15j8zz7qmf6c6vhim08yn1knn0qhwypmc7bxw608zg5nf50vghyb";
};
outputs = [ "out" "doc" "man" ];
nativeBuildInputs = [ ronn ];
checkInputs = with pythonPackages; [
@ -30,17 +31,15 @@ pythonPackages.buildPythonApplication rec {
zodb
]);
outputs = [ "out" "doc" ];
postBuild = "make -C doc";
checkPhase = "py.test src/vulnix";
postInstall = ''
install -D -t $out/share/man/man1 doc/vulnix.1
install -D -t $out/share/man/man5 doc/vulnix-whitelist.5
install -D -t $doc/share/doc/vulnix README.rst CHANGES.rst
gzip $doc/share/doc/vulnix/*.rst
install -D -t $man/share/man/man1 doc/vulnix.1
install -D -t $man/share/man/man5 doc/vulnix-whitelist.5
'';
dontStrip = true;