elvish: 0.13.1 -> 0.14.0

This commit is contained in:
Vladyslav M 2020-07-15 23:09:10 +03:00 committed by Mario Rodas
parent ae6e762289
commit 6eefefe1aa
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

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