kube-hunter: remove future
This commit is contained in:
parent
5e67e7be9f
commit
5309e14629
@ -7,27 +7,26 @@
|
|||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "kube-hunter";
|
pname = "kube-hunter";
|
||||||
version = "0.6.8";
|
version = "0.6.8";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aquasecurity";
|
owner = "aquasecurity";
|
||||||
repo = "kube-hunter";
|
repo = "kube-hunter";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
sha256 = "sha256-+M8P/VSF9SKPvq+yNPjokyhggY7hzQ9qLLhkiTNbJls=";
|
hash = "sha256-+M8P/VSF9SKPvq+yNPjokyhggY7hzQ9qLLhkiTNbJls=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
pythonRemoveDeps = [ "future" ];
|
||||||
setuptools-scm
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
build-system = with python3.pkgs; [ setuptools-scm ];
|
||||||
|
|
||||||
|
dependencies = with python3.pkgs; [
|
||||||
netaddr
|
netaddr
|
||||||
netifaces
|
netifaces
|
||||||
requests
|
requests
|
||||||
prettytable
|
prettytable
|
||||||
urllib3
|
urllib3
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
future
|
|
||||||
packaging
|
packaging
|
||||||
pluggy
|
pluggy
|
||||||
kubernetes
|
kubernetes
|
||||||
@ -45,9 +44,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
--replace "kubernetes==12.0.1" "kubernetes"
|
--replace "kubernetes==12.0.1" "kubernetes"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "kube_hunter" ];
|
||||||
"kube_hunter"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test is out-dated
|
# Test is out-dated
|
||||||
@ -57,7 +54,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool to search issues in Kubernetes clusters";
|
description = "Tool to search issues in Kubernetes clusters";
|
||||||
homepage = "https://github.com/aquasecurity/kube-hunter";
|
homepage = "https://github.com/aquasecurity/kube-hunter";
|
||||||
license = with licenses; [ asl20 ];
|
changelog = "https://github.com/aquasecurity/kube-hunter/releases/tag/${src.tag}";
|
||||||
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
mainProgram = "kube-hunter";
|
mainProgram = "kube-hunter";
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user