depot/third_party/nixpkgs/pkgs/development/python-modules/debian-inspector/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

50 lines
911 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
chardet,
attrs,
commoncode,
pytestCheckHook,
setuptools-scm,
pythonOlder,
}:
buildPythonPackage rec {
pname = "debian-inspector";
version = "31.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "debian_inspector";
inherit version;
hash = "sha256-68+8FwZPEL07bSEizbyXtxpJSvDruvr5qM6t/osWT5k=";
};
dontConfigure = true;
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
chardet
attrs
commoncode
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "debian_inspector" ];
meta = with lib; {
description = "Utilities to parse Debian package, copyright and control files";
homepage = "https://github.com/nexB/debian-inspector";
license = with licenses; [
asl20
bsd3
mit
];
maintainers = [ ];
};
}