Merge pull request #172881 from MoritzBoehme/sptlrx-git-updater

sptlrx: add updateScript
main
Bobby Rong 2 years ago committed by GitHub
commit b76ad2c880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      pkgs/applications/audio/sptlrx/default.nix

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, testers, sptlrx }: { lib, buildGoModule, fetchFromGitHub, nix-update-script, testers, sptlrx }:
buildGoModule rec { buildGoModule rec {
pname = "sptlrx"; pname = "sptlrx";
@ -15,10 +15,13 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];
passthru.tests.version = testers.testVersion { passthru = {
package = sptlrx; updateScript = nix-update-script { attrPath = pname; };
# TODO Wrong version in `0.2.0`. Has been fixed upstream. tests.version = testers.testVersion {
version = "v0.1.0"; package = sptlrx;
# TODO Wrong version in `0.2.0`. Has been fixed upstream.
version = "v0.1.0";
};
}; };
meta = with lib; { meta = with lib; {

Loading…
Cancel
Save