about summary refs log tree commit diff
path: root/pkgs/applications/audio/sptlrx
diff options
context:
space:
mode:
authorR. Ryantm <ryantm-bot@ryantm.com>2022-07-30 08:04:49 +0000
committerMoritz Böhme <mail@moritzboeh.me>2022-07-31 16:32:08 +0200
commit0b5ab92ee4488907c3d3007bc6c0816df1effe06 (patch)
treeda84f0b9f8a6205ae88c6a67fc0e579cadc94037 /pkgs/applications/audio/sptlrx
parent334071af91e4202b1dd1ad435721a8c016e79ff1 (diff)
sptlrx: 0.2.0 -> 1.0.0
Co-authored-by: bobby285271 <rjl931189261@126.com>
Diffstat (limited to 'pkgs/applications/audio/sptlrx')
-rw-r--r--pkgs/applications/audio/sptlrx/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/audio/sptlrx/default.nix b/pkgs/applications/audio/sptlrx/default.nix
index 4daab47047380..7b31325164b89 100644
--- a/pkgs/applications/audio/sptlrx/default.nix
+++ b/pkgs/applications/audio/sptlrx/default.nix
@@ -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
     };
   };