mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
elvish: 0.13.1 -> 0.14.0
This commit is contained in:
parent
ae6e762289
commit
6eefefe1aa
|
@ -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";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue