Merge pull request #301154 from henrirosten/vulnix-unstable-2024-04-02

vulnix: 1.10.1 -> 1.10.1-unstable-2024-04-02
This commit is contained in:
Florian Klink 2024-04-03 14:34:53 +03:00 committed by GitHub
commit 264f5eb58c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,17 +1,19 @@
{ lib
, python3Packages
, fetchPypi
, fetchFromGitHub
, nix
, ronn
}:
python3Packages.buildPythonApplication rec {
pname = "vulnix";
version = "1.10.1";
version = "1.10.1-unstable-2024-04-02";
src = fetchPypi {
inherit pname version;
sha256 = "07v3ddvvhi3bslwrlin45kz48i3va2lzd6ny0blj5i2z8z40qcfm";
src = fetchFromGitHub {
owner = "nix-community";
repo = "vulnix";
rev = "ebd8ea84553c0fd95bc3042584b495560821500f";
hash = "sha256-huC520cLPjcmnbh+qOamyVfiIJNrCUpwK+orEp+X2LQ=";
};
postPatch = ''
@ -56,7 +58,7 @@ python3Packages.buildPythonApplication rec {
meta = with lib; {
description = "NixOS vulnerability scanner";
mainProgram = "vulnix";
homepage = "https://github.com/flyingcircusio/vulnix";
homepage = "https://github.com/nix-community/vulnix";
license = licenses.bsd3;
maintainers = with maintainers; [ ckauhaus ];
};