20 lines
347 B
Nix
20 lines
347 B
Nix
{
|
|
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
|
|
}: buildGoModule rec {
|
|
|
|
pname = "yq-go";
|
|
version = "4.21.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mikefarah";
|
|
repo = "yq";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-283xe7FVHYSsRl4cZD7WDzIW1gqNAFsNrWYJkthZheU=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-F11FnDYJ59aKrdRXDPpKlhX52yQXdaN1sblSkVI2j9w=";
|
|
}
|