nixpkgs/pkgs/tools/security/cdk-go/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
784 B
Nix
Raw Normal View History

2021-10-08 07:28:06 +00:00
{ lib
, stdenv
2021-10-08 07:28:06 +00:00
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "cdk-go";
2022-03-12 03:14:01 +00:00
version = "1.0.6";
2021-10-08 07:28:06 +00:00
src = fetchFromGitHub {
owner = "cdk-team";
repo = "CDK";
rev = "v${version}";
2022-03-12 03:14:01 +00:00
sha256 = "sha256-XzUSiE03ZbP75ewwBJFwZE0aKNlOFprezeD26japLD8=";
2021-10-08 07:28:06 +00:00
};
2022-03-12 03:14:01 +00:00
vendorSha256 = "sha256-mP49DmOHvS8ewQG7I1J5OEmAOkHEFJfAsEPeiaRBpWc=";
2021-10-08 07:28:06 +00:00
# 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 ];
2021-10-11 01:16:09 +00:00
mainProgram = "cdk";
broken = stdenv.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042
2021-10-08 07:28:06 +00:00
};
}