sptlrx: 0.2.0 -> 1.0.0

Co-authored-by: bobby285271 <rjl931189261@126.com>
This commit is contained in:
R. Ryantm 2022-07-30 08:04:49 +00:00 committed by Moritz Böhme
parent 334071af91
commit 0b5ab92ee4
No known key found for this signature in database
GPG Key ID: 970C6E89EB0547A9

@ -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
};
};