equicord: 1.11.4 -> 2025-04-23 (#400097)

authored by Niklas Korz and committed by GitHub bf6fc3ea d7115a96

+14 -5
+14 -5
pkgs/by-name/eq/equicord/package.nix
··· 10 }: 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "equicord"; 13 - version = "1.11.4"; 14 15 src = fetchFromGitHub { 16 owner = "Equicord"; 17 repo = "Equicord"; 18 - tag = "v${finalAttrs.version}"; 19 - hash = "sha256-BjAp+bubpG9tTo8y5LWcTCnpLbiyuY1Q6ZnprgeKoZg="; 20 }; 21 22 pnpmDeps = pnpm_9.fetchDeps { 23 inherit (finalAttrs) pname version src; 24 - hash = "sha256-4uCo/pQ4f8k/7DNpCPDAeqfroZ9icFiTwapwS10uWkE="; 25 }; 26 27 nativeBuildInputs = [ ··· 52 runHook postInstall 53 ''; 54 55 - passthru.updateScript = nix-update-script { }; 56 57 meta = { 58 description = "The other cutest Discord client mod";
··· 10 }: 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "equicord"; 13 + # Upstream discourages inferring the package version from the package.json found in 14 + # the Equicord repository. Dates as tags (and automatic releases) were the compromise 15 + # we came to with upstream. Please do not change the version schema (e.g., to semver) 16 + # unless upstream changes the tag schema from dates. 17 + version = "2025-04-17"; 18 19 src = fetchFromGitHub { 20 owner = "Equicord"; 21 repo = "Equicord"; 22 + tag = "${finalAttrs.version}"; 23 + hash = "sha256-pAuNqPrQBeL2qPIoIvyBl1PrUBz81TrBd5RT15Iuuus="; 24 }; 25 26 pnpmDeps = pnpm_9.fetchDeps { 27 inherit (finalAttrs) pname version src; 28 + hash = "sha256-fjfzBy1Z7AUKA53yjjCQ6yasHc5QMaOBtXtXA5fNK5s="; 29 }; 30 31 nativeBuildInputs = [ ··· 56 runHook postInstall 57 ''; 58 59 + passthru.updateScript = nix-update-script { 60 + extraArgs = [ 61 + "--version-regex" 62 + "^\d{4}-\d{2}-\d{2}$" 63 + ]; 64 + }; 65 66 meta = { 67 description = "The other cutest Discord client mod";