mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
Merge pull request #43851 from ckauhaus/vulnix-1.7
vulnix: 1.6.3 -> 1.7
This commit is contained in:
commit
7981d0ee6f
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue