mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
sbom2dot: init at 0.3.1
This commit is contained in:
7
pkgs/by-name/sb/sbom2dot/package.nix
Normal file
7
pkgs/by-name/sb/sbom2dot/package.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
(python3Packages.toPythonApplication python3Packages.sbom2dot).overrideAttrs (previousAttrs: {
|
||||
meta.mainProgram = "sbom2dot";
|
||||
})
|
||||
41
pkgs/development/python-modules/sbom2dot/default.nix
Normal file
41
pkgs/development/python-modules/sbom2dot/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
lib4sbom,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sbom2dot";
|
||||
version = "0.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anthonyharrison";
|
||||
repo = "sbom2dot";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-xrphhTbIyqe0CqQOpJSyzTWbGYFFOKdyWJTTAlURkoo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
lib4sbom
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sbom2dot"
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/anthonyharrison/sbom2dot/releases/tag/v${version}";
|
||||
description = "Create a dependency graph of the components within a SBOM";
|
||||
homepage = "https://github.com/anthonyharrison/sbom2dot";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "sbom2dot";
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
@@ -14510,6 +14510,8 @@ self: super: with self; {
|
||||
|
||||
sasmodels = callPackage ../development/python-modules/sasmodels { };
|
||||
|
||||
sbom2dot = callPackage ../development/python-modules/sbom2dot { };
|
||||
|
||||
scalene = callPackage ../development/python-modules/scalene { };
|
||||
|
||||
scales = callPackage ../development/python-modules/scales { };
|
||||
|
||||
Reference in New Issue
Block a user