Files
nixpkgs/pkgs/by-name/cd/cdk-go/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
873 B
Nix

{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "cdk-go";
version = "1.5.5";
src = fetchFromGitHub {
owner = "cdk-team";
repo = "CDK";
tag = "v${version}";
hash = "sha256-mknmpRp8IcqSz7HrD8ertEfv+j6lNVjvjxTWa/qqWR0=";
};
vendorHash = "sha256-aJN/d/BxmleRXKw6++k6e0Vb0Gs5zg1QfakviABYTog=";
# At least one test is outdated
doCheck = false;
meta = {
description = "Container penetration toolkit";
homepage = "https://github.com/cdk-team/CDK";
changelog = "https://github.com/cdk-team/CDK/releases/tag/v${version}";
license = with lib.licenses; [ gpl2Only ];
maintainers = with lib.maintainers; [ fab ];
mainProgram = "cdk";
broken = stdenv.hostPlatform.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042
};
}