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-04-17 23:49:49 +01:00
|
|
|
modSha256 = "1m7sha6kwis1a00il1iigb9lxxh5m2myj9ps20s816m0b9bhd43v";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|