2022-06-16 17:23:12 +00:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "codeowners";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "1.1.2";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hmarr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-09 11:40:11 +00:00
|
|
|
hash = "sha256-bjSlt439Y5hmbxR6s4J37ao+P2tuKNuwqRg872P+MUg=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
vendorHash = "sha256-G+oaX3SXsHJu3lq6n8dLmoRXDAYcFkrYarwePB/MdEU=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI and Go library for Github's CODEOWNERS file";
|
|
|
|
homepage = "https://github.com/hmarr/codeowners";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ yorickvp ];
|
|
|
|
};
|
|
|
|
}
|