nixpkgs/pkgs/development/tools/checkmate/default.nix

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

30 lines
698 B
Nix
Raw Normal View History

2021-09-03 16:08:05 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "checkmate";
2023-06-03 03:18:11 +00:00
version = "0.9.3";
2021-09-03 16:08:05 +00:00
src = fetchFromGitHub {
owner = "adedayo";
repo = pname;
rev = "v${version}";
2023-06-03 03:18:11 +00:00
hash = "sha256-XzzN4oIG6E4NsMGl4HzFlgAGhkRieRn+jyA0bT8fcrg=";
2021-09-03 16:08:05 +00:00
};
2023-06-03 03:18:11 +00:00
vendorHash = "sha256-D87b/LhHnu8xE0wRdB/wLIuf5NlqrVnKt2WAF29bdZo=";
2021-09-03 16:08:05 +00:00
subPackages = [ "." ];
meta = with lib; {
description = "Pluggable code security analysis tool";
mainProgram = "checkmate";
2021-09-03 16:08:05 +00:00
homepage = "https://github.com/adedayo/checkmate";
2022-12-25 08:47:08 +00:00
changelog = "https://github.com/adedayo/checkmate/releases/tag/v${version}";
2021-09-03 16:08:05 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}