Merge pull request #183942 from MoritzBoehme/auto-update/sptlrx

sptlrx: 0.2.0 -> 1.0.0
This commit is contained in:
Bobby Rong
2022-08-02 20:40:51 +08:00
committed by GitHub
+4 -5
View File
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "sptlrx";
version = "0.2.0";
version = "1.0.0";
src = fetchFromGitHub {
owner = "raitonoberu";
repo = pname;
rev = "v${version}";
sha256 = "sha256-b38DACSdnjwPsLMrkt0Ubpqpn/4SDAgrdSlp9iAcxfE=";
sha256 = "sha256-UDxmUc902A6+DC254wyvjSzNs95K7QIuDW+24o8VCCc=";
};
vendorSha256 = "sha256-/fqWnRQBpLNoTwqrFDKqQuv1r9do1voysBhLuj223S0=";
vendorSha256 = "sha256-t9Mkszzuw7YtBnADsZDjwN2AA6MuQH4+zzDiHe302A4=";
ldflags = [ "-s" "-w" ];
@@ -19,8 +19,7 @@ buildGoModule rec {
updateScript = nix-update-script { attrPath = pname; };
tests.version = testers.testVersion {
package = sptlrx;
# TODO Wrong version in `0.2.0`. Has been fixed upstream.
version = "v0.1.0";
version = "v${version}"; # needed because testVersion uses grep -Fw
};
};