9 python3Packages.buildPythonApplication rec {
13 src = fetchFromGitHub {
14 owner = "nix-community";
16 rev = "9abfc80da0b4135e982332e448a3969f3b28785b";
17 hash = "sha256-gSgAGN7LlciW4uY3VS49CbZ9WuRUcduJ5V7JesA8OVo=";
21 substituteInPlace setup.cfg \
22 --replace "--flake8" ""
30 nativeBuildInputs = [ ronn ];
32 nativeCheckInputs = with python3Packages; [
38 propagatedBuildInputs =
42 ++ (with python3Packages; [
52 postBuild = "make -C doc";
54 checkPhase = "py.test src/vulnix";
57 install -D -t $doc/share/doc/vulnix README.rst CHANGES.rst
58 gzip $doc/share/doc/vulnix/*.rst
59 install -D -t $man/share/man/man1 doc/vulnix.1
60 install -D -t $man/share/man/man5 doc/vulnix-whitelist.5
66 description = "NixOS vulnerability scanner";
67 mainProgram = "vulnix";
68 homepage = "https://github.com/nix-community/vulnix";
69 license = licenses.bsd3;
70 maintainers = with maintainers; [ henrirosten ];