1{
2 buildGoModule,
3 lib,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "codeowners";
9 version = "1.2.1";
10
11 src = fetchFromGitHub {
12 owner = "hmarr";
13 repo = "codeowners";
14 rev = "v${version}";
15 hash = "sha256-PMT3ihxCD4TNgTZOD4KB9Od1djIhnlMa8zuD6t1OieU=";
16 };
17
18 vendorHash = "sha256-CpGlw4xe+gg2IRov9Atd8Z7XbXs1zkIYxvBVpsY/gxg=";
19
20 meta = with lib; {
21 description = "CLI and Go library for Github's CODEOWNERS file";
22 mainProgram = "codeowners";
23 homepage = "https://github.com/hmarr/codeowners";
24 license = licenses.mit;
25 maintainers = with maintainers; [ yorickvp ];
26 };
27}