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
7
python3.pkgs.buildPythonApplication rec {
8
8
pname = "kube-hunter";
9
9
version = "0.6.8";
10
10
-
format = "setuptools";
10
10
+
pyproject = true;
11
11
12
12
src = fetchFromGitHub {
13
13
owner = "aquasecurity";
14
14
repo = "kube-hunter";
15
15
tag = "v${version}";
16
16
-
sha256 = "sha256-+M8P/VSF9SKPvq+yNPjokyhggY7hzQ9qLLhkiTNbJls=";
16
16
+
hash = "sha256-+M8P/VSF9SKPvq+yNPjokyhggY7hzQ9qLLhkiTNbJls=";
17
17
};
18
18
19
19
-
nativeBuildInputs = with python3.pkgs; [
20
20
-
setuptools-scm
21
21
-
];
19
19
+
pythonRemoveDeps = [ "future" ];
22
20
23
23
-
propagatedBuildInputs = with python3.pkgs; [
21
21
+
build-system = with python3.pkgs; [ setuptools-scm ];
22
22
+
23
23
+
dependencies = with python3.pkgs; [
24
24
netaddr
25
25
netifaces
26
26
requests
27
27
prettytable
28
28
urllib3
29
29
ruamel-yaml
30
30
-
future
31
30
packaging
32
31
pluggy
33
32
kubernetes
···
45
44
--replace "kubernetes==12.0.1" "kubernetes"
46
45
'';
47
46
48
48
-
pythonImportsCheck = [
49
49
-
"kube_hunter"
50
50
-
];
47
47
+
pythonImportsCheck = [ "kube_hunter" ];
51
48
52
49
disabledTests = [
53
50
# Test is out-dated
···
57
54
meta = with lib; {
58
55
description = "Tool to search issues in Kubernetes clusters";
59
56
homepage = "https://github.com/aquasecurity/kube-hunter";
60
60
-
license = with licenses; [ asl20 ];
57
57
+
changelog = "https://github.com/aquasecurity/kube-hunter/releases/tag/${src.tag}";
58
58
+
license = licenses.asl20;
61
59
maintainers = with maintainers; [ fab ];
62
60
mainProgram = "kube-hunter";
63
61
};