mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
24 lines
602 B
Nix
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 ];
|
|
};
|
|
}
|