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

23 lines
545 B
Nix
Raw Normal View History

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