ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / container-inspector / default.nix
blob1dcf4e9b7a725252c57be7c2847ede8d440822cd
1 { lib
2 , attrs
3 , buildPythonPackage
4 , click
5 , commoncode
6 , dockerfile-parse
7 , fetchFromGitHub
8 , pytestCheckHook
9 , pythonOlder
10 , setuptools-scm
13 buildPythonPackage rec {
14   pname = "container-inspector";
15   version = "32.0.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "nexB";
22     repo = pname;
23     rev = "refs/tags/v${version}";
24     hash = "sha256-J9glnfs6l36/IQoIvE8a+Cw4B8x/6r5UeAU8+T/OiQg=";
25   };
27   SETUPTOOLS_SCM_PRETEND_VERSION = version;
29   dontConfigure = true;
31   nativeBuildInputs = [
32     setuptools-scm
33   ];
35   propagatedBuildInputs = [
36     attrs
37     click
38     dockerfile-parse
39     commoncode
40   ];
42   checkInputs = [
43     pytestCheckHook
44   ];
46   pythonImportsCheck = [
47     "container_inspector"
48   ];
50   meta = with lib; {
51     description = "Suite of analysis utilities and command line tools for container images";
52     homepage = "https://github.com/nexB/container-inspector";
53     license = with licenses; [ asl20 ];
54     maintainers = with maintainers; [ fab ];
55   };