Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 873 B view raw
1{ 2 lib, 3 stdenv, 4 buildGoModule, 5 fetchFromGitHub, 6}: 7 8buildGoModule rec { 9 pname = "cdk-go"; 10 version = "1.5.5"; 11 12 src = fetchFromGitHub { 13 owner = "cdk-team"; 14 repo = "CDK"; 15 tag = "v${version}"; 16 hash = "sha256-mknmpRp8IcqSz7HrD8ertEfv+j6lNVjvjxTWa/qqWR0="; 17 }; 18 19 vendorHash = "sha256-aJN/d/BxmleRXKw6++k6e0Vb0Gs5zg1QfakviABYTog="; 20 21 # At least one test is outdated 22 doCheck = false; 23 24 meta = { 25 description = "Container penetration toolkit"; 26 homepage = "https://github.com/cdk-team/CDK"; 27 changelog = "https://github.com/cdk-team/CDK/releases/tag/v${version}"; 28 license = with lib.licenses; [ gpl2Only ]; 29 maintainers = with lib.maintainers; [ fab ]; 30 mainProgram = "cdk"; 31 broken = stdenv.hostPlatform.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042 32 }; 33}