yq-go: 3.1.0 -> 3.1.2 (#80762)

This commit is contained in:
Wael Nasreddine
2020-02-21 14:39:23 -10:00
committed by GitHub
parent b83257ca5f
commit 20e7a3d6a6
2 changed files with 6 additions and 378 deletions
+6 -15
View File
@@ -1,30 +1,21 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
# buildGoModule is not supported by the project
# See https://github.com/mikefarah/yq/issues/227
buildGoPackage rec {
buildGoModule rec {
pname = "yq-go";
version = "3.1.0";
goPackagePath = "github.com/mikefarah/yq/v3";
version = "3.1.2";
src = fetchFromGitHub {
owner = "mikefarah";
rev = version;
repo = "yq";
sha256 = "0hsb9m0pq2agsg7392r6h9sv5vqa2r7fl0ff1q24vpx8jlpq1vc6";
sha256 = "0gjxmnmphav8ms4zdkcjcsgrjs77ccwdfpc1qpxjp6fr2g4v5vmq";
};
goDeps = ./deps.nix;
postInstall = ''
mv $bin/bin/v3 $bin/bin/yq
'';
modSha256 = "035w9bh96rr2x21w7bwwpngyng6839wglpgwf7gy8p6difvnn2v9";
meta = with stdenv.lib; {
description = "Portable command-line YAML processor";
homepage = http://mikefarah.github.io/yq/;
homepage = "https://mikefarah.gitbook.io/yq/";
license = [ licenses.mit ];
maintainers = [ maintainers.lewo ];
};