Merge pull request #57132 from ckauhaus/vulnix-1.8.0
vulnix: 1.7.1 -> 1.8.0
This commit is contained in:
commit
1f8aa8bf1c
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "vulnix";
|
pname = "vulnix";
|
||||||
version = "1.7.1";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = pythonPackages.fetchPypi {
|
src = pythonPackages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "15c32976sgb5clixngi6z1fk5h02v1kn1a89h8rkbkvyhfnjgg8m";
|
sha256 = "15j8zz7qmf6c6vhim08yn1knn0qhwypmc7bxw608zg5nf50vghyb";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" "man" ];
|
||||||
nativeBuildInputs = [ ronn ];
|
nativeBuildInputs = [ ronn ];
|
||||||
|
|
||||||
checkInputs = with pythonPackages; [
|
checkInputs = with pythonPackages; [
|
||||||
@ -30,17 +31,15 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
zodb
|
zodb
|
||||||
]);
|
]);
|
||||||
|
|
||||||
outputs = [ "out" "doc" ];
|
|
||||||
|
|
||||||
postBuild = "make -C doc";
|
postBuild = "make -C doc";
|
||||||
|
|
||||||
checkPhase = "py.test src/vulnix";
|
checkPhase = "py.test src/vulnix";
|
||||||
|
|
||||||
postInstall = ''
|
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
|
install -D -t $doc/share/doc/vulnix README.rst CHANGES.rst
|
||||||
gzip $doc/share/doc/vulnix/*.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;
|
dontStrip = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user