Merge pull request #93200 from dywedir/elvish

elvish: 0.13.1 -> 0.14.0
This commit is contained in:
Mario Rodas 2020-07-19 18:37:24 -05:00 committed by GitHub
commit 12bc331424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,23 +2,20 @@
buildGoModule rec {
pname = "elvish";
version = "0.13.1";
version = "0.14.0";
goPackagePath = "github.com/elves/elvish";
excludedPackages = [ "website" ];
buildFlagsArray = ''
-ldflags=
-X ${goPackagePath}/buildinfo.Version=${version}
'';
buildFlagsArray = [ "-ldflags=-s -w -X github.com/elves/elvish/pkg/buildinfo.Version==${version} -X github.com/elves/elvish/pkg/buildinfo.Reproducible=true" ];
src = fetchFromGitHub {
owner = "elves";
repo = pname;
rev = "v${version}";
sha256 = "0lz9lf1swrn67kymcp2wh67lh3c0ifqm9035gpkd3zynlq3wzqfm";
sha256 = "1jsxhnm82pjzwvcjq7vrlldyjnv5j6c83a13dj6zphlqq99z68l4";
};
vendorSha256 = null;
vendorSha256 = "1f971n17h9bc0qcgs9ipiaw0x9807mz761fqm605br4ch1kp0897";
meta = with stdenv.lib; {
description = "A friendly and expressive command shell";
@ -36,4 +33,4 @@ buildGoModule rec {
passthru = {
shellPath = "/bin/elvish";
};
}
}