python312Packages.lib4package: init at 0.3.1

This commit is contained in:
Pol Dellaiera 2025-01-31 09:23:39 +01:00
parent a5318ffadc
commit cb61bb4dea
3 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
}:
buildPythonPackage rec {
pname = "lib4package";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "anthonyharrison";
repo = "lib4package";
tag = "v${version}";
hash = "sha256-ZU5Lne2/xBgaFrTumWpZsuL9ckqdACrb0iRraWo+Rk0=";
};
build-system = [
setuptools
];
dependencies = [
requests
];
pythonImportsCheck = [
"lib4package"
];
meta = {
changelog = "https://github.com/anthonyharrison/lib4package/releases/tag/v${version}";
description = "Utility for handling package metadata to include in Software Bill of Materials (SBOMs";
homepage = "https://github.com/anthonyharrison/lib4package";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ drupol ];
};
}

View File

@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
lib4sbom,
python-magic,
}:
buildPythonPackage rec {
pname = "sbom4files";
version = "0.4.5";
pyproject = true;
src = fetchFromGitHub {
owner = "anthonyharrison";
repo = "sbom4files";
tag = "v${version}";
hash = "sha256-2J3JNFtau7U5mNkqxU8Y8wIg2JR7CUZUVX0A4F9tMLs=";
};
build-system = [
setuptools
];
dependencies = [
lib4sbom
python-magic
];
pythonImportsCheck = [
"sbom4files"
];
meta = {
changelog = "https://github.com/anthonyharrison/sbom4files/releases/tag/v${version}";
description = "SBOM generator for files within a directory";
homepage = "https://github.com/anthonyharrison/sbom4files";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ drupol ];
};
}

View File

@ -7264,6 +7264,8 @@ self: super: with self; {
inherit python;
});
lib4package = callPackage ../development/python-modules/lib4package { };
libagent = callPackage ../development/python-modules/libagent { };
pa-ringbuffer = callPackage ../development/python-modules/pa-ringbuffer { };