2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
chardet,
|
|
|
|
attrs,
|
|
|
|
commoncode,
|
|
|
|
pytestCheckHook,
|
|
|
|
setuptools-scm,
|
|
|
|
pythonOlder,
|
2021-04-25 03:57:28 +00:00
|
|
|
}:
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "debian-inspector";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "31.1.0";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "debian_inspector";
|
|
|
|
inherit version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-68+8FwZPEL07bSEizbyXtxpJSvDruvr5qM6t/osWT5k=";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
dontConfigure = true;
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ setuptools-scm ];
|
2021-04-25 03:57:28 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
dependencies = [
|
2021-04-25 03:57:28 +00:00
|
|
|
chardet
|
|
|
|
attrs
|
|
|
|
];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
commoncode
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-04-25 03:57:28 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "debian_inspector" ];
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Utilities to parse Debian package, copyright and control files";
|
|
|
|
homepage = "https://github.com/nexB/debian-inspector";
|
2024-06-05 15:53:02 +00:00
|
|
|
license = with licenses; [
|
|
|
|
asl20
|
|
|
|
bsd3
|
|
|
|
mit
|
|
|
|
];
|
2023-03-24 00:07:29 +00:00
|
|
|
maintainers = [ ];
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
}
|