nixpkgs/pkgs/development/tools/yq-go/default.nix

22 lines
547 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-08-23 11:26:08 +01:00
2020-02-22 00:39:23 +00:00
buildGoModule rec {
2019-08-23 11:26:08 +01:00
pname = "yq-go";
version = "3.3.0";
2019-08-23 11:26:08 +01:00
src = fetchFromGitHub {
owner = "mikefarah";
rev = version;
repo = "yq";
sha256 = "1jll5nmskvs61031h3sizhv3scv8znrr9apyc4qlxcp4jiv7xpmp";
2019-08-23 11:26:08 +01:00
};
vendorSha256 = "0rlvbyhl53x1bhwr7f7zs4swa580saak19z3d3g58srq3jyw6zlc";
2019-08-23 11:26:08 +01:00
meta = with lib; {
2019-08-23 11:26:08 +01:00
description = "Portable command-line YAML processor";
2020-02-22 00:39:23 +00:00
homepage = "https://mikefarah.gitbook.io/yq/";
2019-08-23 11:26:08 +01:00
license = [ licenses.mit ];
maintainers = [ maintainers.lewo ];
};
}