8 python3Packages.buildPythonApplication rec {
10 version = "1.10.1-unstable-2024-04-02";
12 src = fetchFromGitHub {
13 owner = "nix-community";
15 rev = "ebd8ea84553c0fd95bc3042584b495560821500f";
16 hash = "sha256-huC520cLPjcmnbh+qOamyVfiIJNrCUpwK+orEp+X2LQ=";
20 substituteInPlace setup.cfg \
21 --replace "--flake8" ""
24 outputs = [ "out" "doc" "man" ];
25 nativeBuildInputs = [ ronn ];
27 nativeCheckInputs = with python3Packages; [
33 propagatedBuildInputs = [
35 ] ++ (with python3Packages; [
45 postBuild = "make -C doc";
47 checkPhase = "py.test src/vulnix";
50 install -D -t $doc/share/doc/vulnix README.rst CHANGES.rst
51 gzip $doc/share/doc/vulnix/*.rst
52 install -D -t $man/share/man/man1 doc/vulnix.1
53 install -D -t $man/share/man/man5 doc/vulnix-whitelist.5
59 description = "NixOS vulnerability scanner";
60 mainProgram = "vulnix";
61 homepage = "https://github.com/nix-community/vulnix";
62 license = licenses.bsd3;
63 maintainers = with maintainers; [ ckauhaus ];