mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 03:23:17 +00:00
Merge pull request #226874 from fabaff/kube-hunter-fix
kube-hunter: fix version handling
This commit is contained in:
commit
7367fb6ee7
@ -14,6 +14,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
sha256 = "sha256-+M8P/VSF9SKPvq+yNPjokyhggY7hzQ9qLLhkiTNbJls=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools-scm
|
||||
];
|
||||
@ -47,6 +49,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"kube_hunter"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test is out-dated
|
||||
"test_K8sCveHunter"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to search issues in Kubernetes clusters";
|
||||
homepage = "https://github.com/aquasecurity/kube-hunter";
|
||||
|
Loading…
Reference in New Issue
Block a user