diff --git a/pkgs/by-name/sm/sm64coopdx/package.nix b/pkgs/by-name/sm/sm64coopdx/package.nix index e8d7f7300b76..b9d3c42f86cd 100644 --- a/pkgs/by-name/sm/sm64coopdx/package.nix +++ b/pkgs/by-name/sm/sm64coopdx/package.nix @@ -40,13 +40,14 @@ in # note: there is a generic builder in pkgs/games/sm64ex/generic.nix that is meant to help build sm64ex and its forks; however sm64coopdx has departed significantly enough in its build that it doesn't make sense to use that other than the baseRom derivation stdenv.mkDerivation (finalAttrs: { pname = "sm64coopdx"; - version = "1.4"; + version = "1.4.1"; src = fetchFromGitHub { owner = "coop-deluxe"; repo = "sm64coopdx"; - tag = "v${finalAttrs.version}"; - hash = "sha256-ct7X6LCitk1QID00guvYOMfIwnZccMeXqXwUB3ioKh8="; + # Replace with `tag = "v${finalAttrs.version}";` in the next version. The upstream repository tagged the wrong commit. + rev = "6092488d1c4fc741b16a0789ef9c08ec0279333f"; + hash = "sha256-BIdKKIp6q9Vp2DByXzT9CJzOszFhjriiWBEqFwUT28M="; }; patches = [ ./no-update-check.patch ]; @@ -71,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { desktopItems = [ (makeDesktopItem { name = finalAttrs.pname; - desktopName = "Super Mario 64 Coop Deluxe"; + desktopName = "sm64coopdx"; exec = "sm64coopdx"; icon = finalAttrs.pname; categories = [ "Game" ]; @@ -142,7 +143,7 @@ stdenv.mkDerivation (finalAttrs: { maintainers = [ lib.maintainers.shelvacu ]; mainProgram = "sm64coopdx"; homepage = "https://sm64coopdx.com/"; - changelog = "https://github.com/coop-deluxe/sm64coopdx/releases/tag/v1.3"; + changelog = "https://github.com/coop-deluxe/sm64coopdx/releases/tag/${finalAttrs.version}"; sourceProvenance = with lib.sourceTypes; [ fromSource # The lua engine, discord sdk, and coopnet library are vendored pre-built. See https://github.com/coop-deluxe/sm64coopdx/tree/v1.0.3/lib