mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
python312Packages.lib4package: init at 0.3.1
This commit is contained in:
parent
a5318ffadc
commit
cb61bb4dea
40
pkgs/development/python-modules/lib4package/default.nix
Normal file
40
pkgs/development/python-modules/lib4package/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
42
pkgs/development/python-modules/sbom4files/default.nix
Normal file
42
pkgs/development/python-modules/sbom4files/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user