Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / debian-inspector / default.nix
blob0add3d134ec72aa918bf9dc4444fc2ecda1d722e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , chardet
5 , attrs
6 , commoncode
7 , pytestCheckHook
8 , setuptools-scm
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "debian-inspector";
14   version = "31.1.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     pname = "debian_inspector";
21     inherit version;
22     hash = "sha256-68+8FwZPEL07bSEizbyXtxpJSvDruvr5qM6t/osWT5k=";
23   };
25   dontConfigure = true;
27   nativeBuildInputs = [
28     setuptools-scm
29   ];
31   propagatedBuildInputs = [
32     chardet
33     attrs
34     commoncode
35   ];
37   nativeCheckInputs = [
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [
42     "debian_inspector"
43   ];
45   meta = with lib; {
46     description = "Utilities to parse Debian package, copyright and control files";
47     homepage = "https://github.com/nexB/debian-inspector";
48     license = with licenses; [ asl20 bsd3 mit ];
49     maintainers = [ ];
50   };