openasar: add discord tests

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

+12 -3
+12 -3
pkgs/by-name/op/openasar/package.nix
··· 6 6 nodejs, 7 7 asar, 8 8 unzip, 9 + discord, 10 + discord-ptb, 11 + discord-canary, 12 + discord-development, 9 13 }: 10 14 11 15 stdenv.mkDerivation (finalAttrs: { ··· 48 52 49 53 doCheck = false; 50 54 51 - passthru.updateScript = unstableGitUpdater { 52 - # Only has a "nightly" tag (untaged version 0.2 is latest) see https://github.com/GooseMod/OpenAsar/commit/8f79dcef9b1f7732421235a392f06e5bd7382659 53 - hardcodeZeroVersion = true; 55 + passthru = { 56 + updateScript = unstableGitUpdater { 57 + # Only has a "nightly" tag (untaged version 0.2 is latest) see https://github.com/GooseMod/OpenAsar/commit/8f79dcef9b1f7732421235a392f06e5bd7382659 58 + hardcodeZeroVersion = true; 59 + }; 60 + tests = lib.genAttrs' [ discord discord-ptb discord-canary discord-development ] ( 61 + p: lib.nameValuePair p.pname p.tests.withOpenASAR 62 + ); 54 63 }; 55 64 56 65 meta = with lib; {