From a1128e9f25cceb308de82773fe85f9c03c26548c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Oct 2021 09:28:06 +0200 Subject: [PATCH] cdk-go: init at 1.0.4 --- pkgs/tools/security/cdk-go/default.nix | 28 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/security/cdk-go/default.nix diff --git a/pkgs/tools/security/cdk-go/default.nix b/pkgs/tools/security/cdk-go/default.nix new file mode 100644 index 000000000000..5b0472a7d55b --- /dev/null +++ b/pkgs/tools/security/cdk-go/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "cdk-go"; + version = "1.0.4"; + + src = fetchFromGitHub { + owner = "cdk-team"; + repo = "CDK"; + rev = "v${version}"; + sha256 = "1zz9jaz5nlvs52nqlaisivrnz7lz8g48qii0n2s1783a5jpkk9ml"; + }; + + vendorSha256 = "0sn709mbhfymwwfdqc5xpdz2lgimqx3xycfmq24vbfmlh8wqcs7l"; + + # At least one test is outdated + doCheck = false; + + meta = with lib; { + description = "Container penetration toolkit"; + homepage = "https://github.com/cdk-team/CDK"; + license = with licenses; [ gpl2Only ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c475ee35060..5077b86c68ef 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15444,6 +15444,8 @@ with pkgs; cdk = callPackage ../development/libraries/cdk {}; + cdk-go = callPackage ../tools/security/cdk-go {}; + cdo = callPackage ../development/libraries/cdo { }; cimg = callPackage ../development/libraries/cimg { };