nixpkgs/pkgs/development/tools/codeowners/default.nix
2024-06-27 00:39:25 +00:00

24 lines
602 B
Nix

{ buildGoModule, lib, fetchFromGitHub }:
buildGoModule rec {
pname = "codeowners";
version = "1.2.1";
src = fetchFromGitHub {
owner = "hmarr";
repo = pname;
rev = "v${version}";
hash = "sha256-PMT3ihxCD4TNgTZOD4KB9Od1djIhnlMa8zuD6t1OieU=";
};
vendorHash = "sha256-CpGlw4xe+gg2IRov9Atd8Z7XbXs1zkIYxvBVpsY/gxg=";
meta = with lib; {
description = "CLI and Go library for Github's CODEOWNERS file";
mainProgram = "codeowners";
homepage = "https://github.com/hmarr/codeowners";
license = licenses.mit;
maintainers = with maintainers; [ yorickvp ];
};
}