Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

sbomnix: init at 1.4.5

Signed-off-by: Henri Rosten <henri.rosten@unikie.com>

+63
+6
maintainers/maintainer-list.nix
··· 6034 6034 githubId = 982322; 6035 6035 name = "Henrik Olsson"; 6036 6036 }; 6037 + henrirosten = { 6038 + email = "henri.rosten@unikie.com"; 6039 + github = "henrirosten"; 6040 + githubId = 49935860; 6041 + name = "Henri Rosten"; 6042 + }; 6037 6043 henrytill = { 6038 6044 email = "henrytill@gmail.com"; 6039 6045 github = "henrytill";
+55
pkgs/tools/security/sbomnix/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , coreutils 4 + , curl 5 + , gnugrep 6 + , gnused 7 + , gzip 8 + , nix 9 + , python 10 + # python libs 11 + , colorlog 12 + , graphviz 13 + , numpy 14 + , packageurl-python 15 + , pandas 16 + , requests 17 + , reuse 18 + , tabulate 19 + }: 20 + 21 + python.pkgs.buildPythonApplication rec { 22 + pname = "sbomnix"; 23 + version = "1.4.5"; 24 + 25 + src = fetchFromGitHub { 26 + owner = "tiiuae"; 27 + repo = pname; 28 + rev = "refs/tags/v${version}"; 29 + hash = "sha256-RxDFxVGivVBw2uhtzf231Q2HHTBFKSqGrknr2Es/ygM="; 30 + }; 31 + 32 + makeWrapperArgs = [ 33 + "--prefix PATH : ${lib.makeBinPath [ coreutils curl gnugrep gnused gzip graphviz nix ]}" 34 + ]; 35 + 36 + propagatedBuildInputs = [ 37 + colorlog 38 + graphviz 39 + numpy 40 + packageurl-python 41 + pandas 42 + requests 43 + reuse 44 + tabulate 45 + ]; 46 + 47 + pythonImportsCheck = [ "sbomnix" ]; 48 + 49 + meta = with lib; { 50 + description = "Generate SBOMs for nix targets"; 51 + homepage = "https://github.com/tiiuae/sbomnix"; 52 + license = with licenses; [ asl20 bsd3 cc-by-30 ]; 53 + maintainers = with maintainers; [ henrirosten jk ]; 54 + }; 55 + }
+2
pkgs/top-level/all-packages.nix
··· 18759 18759 18760 18760 sawjap = callPackage ../development/tools/java/sawjap { }; 18761 18761 18762 + sbomnix = python3.pkgs.callPackage ../tools/security/sbomnix { }; 18763 + 18762 18764 sd-local = callPackage ../development/tools/sd-local { }; 18763 18765 18764 18766 seer = libsForQt5.callPackage ../development/tools/misc/seer { };