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.

33 lines
866 B
Nix
Raw Normal View History

2021-10-08 09:28:06 +02:00
{ lib
, stdenv
2021-10-08 09:28:06 +02:00
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "cdk-go";
2023-01-07 22:24:35 +01:00
version = "1.5.1";
2021-10-08 09:28:06 +02:00
src = fetchFromGitHub {
owner = "cdk-team";
repo = "CDK";
2023-01-07 23:00:15 +01:00
rev = "refs/tags/v${version}";
hash = "sha256-d1EwKu3QUbIhpgSQLL3GqaPQJ1K/QxwhsHuX5y1jWH0=";
2021-10-08 09:28:06 +02:00
};
2023-01-07 22:24:35 +01:00
vendorHash = "sha256-aJN/d/BxmleRXKw6++k6e0Vb0Gs5zg1QfakviABYTog=";
2021-10-08 09:28:06 +02:00
# At least one test is outdated
doCheck = false;
meta = with lib; {
description = "Container penetration toolkit";
homepage = "https://github.com/cdk-team/CDK";
2023-01-07 23:00:15 +01:00
changelog = "https://github.com/cdk-team/CDK/releases/tag/v${version}";
2021-10-08 09:28:06 +02:00
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ fab ];
2021-10-11 03:16:09 +02: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 09:28:06 +02:00
};
}