tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kube-hunter: remove future
Fabian Affolter
6 months ago
5309e146
5e67e7be
+9
-11
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ku
kube-hunter
package.nix
+9
-11
pkgs/by-name/ku/kube-hunter/package.nix
···
7
python3.pkgs.buildPythonApplication rec {
8
pname = "kube-hunter";
9
version = "0.6.8";
10
-
format = "setuptools";
11
12
src = fetchFromGitHub {
13
owner = "aquasecurity";
14
repo = "kube-hunter";
15
tag = "v${version}";
16
-
sha256 = "sha256-+M8P/VSF9SKPvq+yNPjokyhggY7hzQ9qLLhkiTNbJls=";
17
};
18
19
-
nativeBuildInputs = with python3.pkgs; [
20
-
setuptools-scm
21
-
];
22
23
-
propagatedBuildInputs = with python3.pkgs; [
0
0
24
netaddr
25
netifaces
26
requests
27
prettytable
28
urllib3
29
ruamel-yaml
30
-
future
31
packaging
32
pluggy
33
kubernetes
···
45
--replace "kubernetes==12.0.1" "kubernetes"
46
'';
47
48
-
pythonImportsCheck = [
49
-
"kube_hunter"
50
-
];
51
52
disabledTests = [
53
# Test is out-dated
···
57
meta = with lib; {
58
description = "Tool to search issues in Kubernetes clusters";
59
homepage = "https://github.com/aquasecurity/kube-hunter";
60
-
license = with licenses; [ asl20 ];
0
61
maintainers = with maintainers; [ fab ];
62
mainProgram = "kube-hunter";
63
};
···
7
python3.pkgs.buildPythonApplication rec {
8
pname = "kube-hunter";
9
version = "0.6.8";
10
+
pyproject = true;
11
12
src = fetchFromGitHub {
13
owner = "aquasecurity";
14
repo = "kube-hunter";
15
tag = "v${version}";
16
+
hash = "sha256-+M8P/VSF9SKPvq+yNPjokyhggY7hzQ9qLLhkiTNbJls=";
17
};
18
19
+
pythonRemoveDeps = [ "future" ];
0
0
20
21
+
build-system = with python3.pkgs; [ setuptools-scm ];
22
+
23
+
dependencies = with python3.pkgs; [
24
netaddr
25
netifaces
26
requests
27
prettytable
28
urllib3
29
ruamel-yaml
0
30
packaging
31
pluggy
32
kubernetes
···
44
--replace "kubernetes==12.0.1" "kubernetes"
45
'';
46
47
+
pythonImportsCheck = [ "kube_hunter" ];
0
0
48
49
disabledTests = [
50
# Test is out-dated
···
54
meta = with lib; {
55
description = "Tool to search issues in Kubernetes clusters";
56
homepage = "https://github.com/aquasecurity/kube-hunter";
57
+
changelog = "https://github.com/aquasecurity/kube-hunter/releases/tag/${src.tag}";
58
+
license = licenses.asl20;
59
maintainers = with maintainers; [ fab ];
60
mainProgram = "kube-hunter";
61
};