2020-03-01 23:20:12 +00:00
|
|
|
{ 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";
|
2020-04-17 23:49:49 +01:00
|
|
|
version = "3.3.0";
|
2019-08-23 11:26:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mikefarah";
|
|
|
|
rev = version;
|
|
|
|
repo = "yq";
|
2020-04-17 23:49:49 +01:00
|
|
|
sha256 = "1jll5nmskvs61031h3sizhv3scv8znrr9apyc4qlxcp4jiv7xpmp";
|
2019-08-23 11:26:08 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "0rlvbyhl53x1bhwr7f7zs4swa580saak19z3d3g58srq3jyw6zlc";
|
2019-08-23 11:26:08 +01:00
|
|
|
|
2020-03-01 23:20:12 +00: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 ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|