Merge pull request #114227 from fishi0x01/bump-vsh

vsh: 0.9.0 -> 0.10.0
This commit is contained in:
Mario Rodas 2021-02-24 21:50:53 -05:00 committed by GitHub
commit dc75a0c295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -2,21 +2,17 @@
buildGoModule rec { buildGoModule rec {
pname = "vsh"; pname = "vsh";
version = "0.9.0"; version = "0.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fishi0x01"; owner = "fishi0x01";
repo = "vsh"; repo = "vsh";
rev = "v${version}"; rev = "v${version}";
sha256 = "1f6szcdakfx3zap1zpkrcs134plv7vnyilzcxs5jbhrrbr6q1807"; sha256 = "16q0pkmdzhq0bqy4lnnlxrc29gszca6vwajj2bg6sylcvi94x80d";
}; };
vendorSha256 = "0a2kjql4ibglxkq5dgzr2sxxxm38nf83s4rsk2gd1cf7v0flr02j"; # vendor directory is part of repository
vendorSha256 = null;
# vendor dir in vsh repo is incomplete
deleteVendor = true;
runVend = true;
# make sure version gets set at compile time # make sure version gets set at compile time
buildFlagsArray = [ "-ldflags=-s -w -X main.vshVersion=v${version}" ]; buildFlagsArray = [ "-ldflags=-s -w -X main.vshVersion=v${version}" ];