1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/yq-go/default.nix

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