elvish: 0.18.0 -> 0.19.2
https://elv.sh/blog/0.19.1-release-notes.html Packaging has changed and what was previously called a 'reproducible' build is now called 'official' and these builds are generated using a docker image: https://github.com/elves/elvish/blob/master/PACKAGING.md
This commit is contained in:
parent
b9dfd915f3
commit
69ddafed7b
1 changed files with 4 additions and 5 deletions
|
@ -2,20 +2,20 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "elvish";
|
pname = "elvish";
|
||||||
version = "0.18.0";
|
version = "0.19.2";
|
||||||
|
|
||||||
subPackages = [ "cmd/elvish" ];
|
subPackages = [ "cmd/elvish" ];
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X src.elv.sh/pkg/buildinfo.Version==${version}" "-X src.elv.sh/pkg/buildinfo.Reproducible=true" ];
|
ldflags = [ "-s" "-w" "-X src.elv.sh/pkg/buildinfo.Version==${version}" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elves";
|
owner = "elves";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-AyTkJiNebpq17vdPluwJBztivezd+c1KAdWFTYYDIFE=";
|
sha256 = "sha256-eCPJXCgmMvrJ2yVqYgXHXJWb6Ec0sutc91LNs4yRBYk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-iuklI7XEQUgZ2ObYRROxyiccZ1JkajK5OJA7hIcpRZQ=";
|
vendorSha256 = "sha256-VMI20IP1jVkUK3rJm35szaFDfZGEEingUEL/xfVJ1cc=";
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -33,7 +33,6 @@ buildGoModule rec {
|
||||||
}
|
}
|
||||||
|
|
||||||
expect version ${version}
|
expect version ${version}
|
||||||
expect reproducible \$true
|
|
||||||
"
|
"
|
||||||
|
|
||||||
runHook postInstallCheck
|
runHook postInstallCheck
|
||||||
|
|
Loading…
Reference in a new issue