nixpkgs-suyu/pkgs/development/tools/checkmate/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
698 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "checkmate";
version = "0.9.3";
src = fetchFromGitHub {
owner = "adedayo";
repo = pname;
rev = "v${version}";
hash = "sha256-XzzN4oIG6E4NsMGl4HzFlgAGhkRieRn+jyA0bT8fcrg=";
};
vendorHash = "sha256-D87b/LhHnu8xE0wRdB/wLIuf5NlqrVnKt2WAF29bdZo=";
subPackages = [ "." ];
meta = with lib; {
description = "Pluggable code security analysis tool";
mainProgram = "checkmate";
homepage = "https://github.com/adedayo/checkmate";
changelog = "https://github.com/adedayo/checkmate/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}