Merge pull request #172547 from fabaff/container-inspector
python310Packages.container-inspector: init at 31.0.0
This commit is contained in:
commit
a297fe6d06
@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, attrs
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, commoncode
|
||||
, dockerfile-parse
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "container-inspector";
|
||||
version = "31.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nexB";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-YwtyNZsTMb8iFXo/rojvjkKUbMNRCXVamzFykpwYCOk=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
click
|
||||
dockerfile-parse
|
||||
commoncode
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"container_inspector"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Suite of analysis utilities and command line tools for container images";
|
||||
homepage = "https://github.com/nexB/container-inspector";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -1871,6 +1871,8 @@ in {
|
||||
|
||||
consul = callPackage ../development/python-modules/consul { };
|
||||
|
||||
container-inspector = callPackage ../development/python-modules/container-inspector { };
|
||||
|
||||
contexter = callPackage ../development/python-modules/contexter { };
|
||||
|
||||
contextlib2 = callPackage ../development/python-modules/contextlib2 { };
|
||||
|
Loading…
Reference in New Issue
Block a user