nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "checkmate";
9 version = "0.9.3";
10
11 src = fetchFromGitHub {
12 owner = "adedayo";
13 repo = "checkmate";
14 rev = "v${version}";
15 hash = "sha256-XzzN4oIG6E4NsMGl4HzFlgAGhkRieRn+jyA0bT8fcrg=";
16 };
17
18 vendorHash = "sha256-D87b/LhHnu8xE0wRdB/wLIuf5NlqrVnKt2WAF29bdZo=";
19
20 subPackages = [ "." ];
21
22 meta = {
23 description = "Pluggable code security analysis tool";
24 mainProgram = "checkmate";
25 homepage = "https://github.com/adedayo/checkmate";
26 changelog = "https://github.com/adedayo/checkmate/releases/tag/v${version}";
27 license = lib.licenses.bsd3;
28 maintainers = with lib.maintainers; [ fab ];
29 };
30}