Merge pull request #49524 from dtzWill/update/grv-0.3.0
gitAndTools.grv: 0.2.0 -> 0.3.0
This commit is contained in:
commit
c5c2da9d6c
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, buildGo19Package, fetchFromGitHub, curl, libgit2_0_27, ncurses, pkgconfig, readline }:
|
{ stdenv, buildGo19Package, fetchFromGitHub, curl, libgit2_0_27, ncurses, pkgconfig, readline }:
|
||||||
let
|
let
|
||||||
version = "0.2.0";
|
version = "0.3.0";
|
||||||
in
|
in
|
||||||
buildGo19Package {
|
buildGo19Package {
|
||||||
name = "grv-${version}";
|
name = "grv-${version}";
|
||||||
|
@ -14,10 +14,14 @@ buildGo19Package {
|
||||||
owner = "rgburke";
|
owner = "rgburke";
|
||||||
repo = "grv";
|
repo = "grv";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0hlqw6b51jglqzzjgazncckpgarp25ghshl0lxv1mff80jg8wd1a";
|
sha256 = "00v502mwnpv09l7fsbq3s72i5fz5dxbildwxgw0r8zzf6d54xrgl";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
rm util/update_latest_release.go
|
||||||
|
'';
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ];
|
buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue