blob: 3180131c6f78d734e77609d2ad4a9894fde3800e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
{ stdenv, buildGoPackage, fetchFromGitHub }:
# buildGoModule is not supported by the project
# See https://github.com/mikefarah/yq/issues/227
buildGoPackage rec {
pname = "yq-go";
version = "2.4.0";
goPackagePath = "gopkg.in/mikefarah/yq.v2";
src = fetchFromGitHub {
owner = "mikefarah";
rev = version;
repo = "yq";
sha256 = "0nizg08mdpb8g6hj887kk5chljba6x9v0f5ysqf28py511yp0dym";
};
goDeps = ./deps.nix;
postInstall = ''
mv $bin/bin/yq.v2 $bin/bin/yq
'';
meta = with stdenv.lib; {
description = "Portable command-line YAML processor";
homepage = http://mikefarah.github.io/yq/;
license = [ licenses.mit ];
maintainers = [ maintainers.lewo ];
};
}
|