blob: 31e4b94387b14bd7e3e4c86309a4278ad9530723 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
attrs,
buildPythonPackage,
click,
commoncode,
dockerfile-parse,
fetchFromGitHub,
pytestCheckHook,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "container-inspector";
version = "33.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "nexB";
repo = "container-inspector";
tag = "v${version}";
hash = "sha256-bXJ4UIDVhiU0DurEeRiyLlSUrNRgwoMqAxXxGb/CcJs=";
};
dontConfigure = true;
build-system = [ setuptools-scm ];
propagatedBuildInputs = [
attrs
click
dockerfile-parse
commoncode
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "container_inspector" ];
meta = {
description = "Suite of analysis utilities and command line tools for container images";
homepage = "https://github.com/nexB/container-inspector";
changelog = "https://github.com/nexB/container-inspector/releases/tag/v${version}";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|