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-03-01 23:20:12 +00:00
|
|
|
version = "3.2.1";
|
2019-08-23 11:26:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mikefarah";
|
|
|
|
rev = version;
|
|
|
|
repo = "yq";
|
2020-03-01 23:20:12 +00:00
|
|
|
sha256 = "1n20m1zizbkgzag4676fvf16h6f8vll6pniblj7haqdwvnza8zwd";
|
2019-08-23 11:26:08 +01:00
|
|
|
};
|
|
|
|
|
2020-03-01 23:20:12 +00:00
|
|
|
modSha256 = "0hbazc6hf3zrni25lpbyi36sbxyabbrpi591gkqwxgr9hdbdpcg9";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|