35 lines
727 B
Nix
35 lines
727 B
Nix
![]() |
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
setuptools,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "ds-xbom-lib";
|
||
|
version = "6.0.0b3";
|
||
|
pyproject = true;
|
||
|
|
||
|
# pypi because library is embedded into another project's repo
|
||
|
src = fetchPypi {
|
||
|
inherit version;
|
||
|
pname = "ds_xbom_lib";
|
||
|
hash = "sha256-/L0AFAuIDzbyXwpg0bigy2AR4GT0RSdXrjPAEbEO7cI=";
|
||
|
};
|
||
|
|
||
|
build-system = [ setuptools ];
|
||
|
|
||
|
pythonImportsCheck = [ "xbom_lib" ];
|
||
|
|
||
|
# no tests
|
||
|
doCheck = false;
|
||
|
|
||
|
meta = {
|
||
|
description = "xBOM library for owasp depscan";
|
||
|
homepage = "https://pypi.org/project/ds-xbom-lib/";
|
||
|
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
||
|
teams = [ lib.teams.ngi ];
|
||
|
license = with lib.licenses; [ mit ];
|
||
|
};
|
||
|
}
|