1{ buildGoModule, lib, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "codeowners";
5 version = "1.1.2";
6
7 src = fetchFromGitHub {
8 owner = "hmarr";
9 repo = pname;
10 rev = "v${version}";
11 hash = "sha256-bjSlt439Y5hmbxR6s4J37ao+P2tuKNuwqRg872P+MUg=";
12 };
13
14 vendorHash = "sha256-G+oaX3SXsHJu3lq6n8dLmoRXDAYcFkrYarwePB/MdEU=";
15
16 meta = with lib; {
17 description = "A CLI and Go library for Github's CODEOWNERS file";
18 homepage = "https://github.com/hmarr/codeowners";
19 license = licenses.mit;
20 maintainers = with maintainers; [ yorickvp ];
21 };
22}