Unverified Commit a8ab6a03 authored by Colin's avatar Colin Committed by GitHub
Browse files

sm64coopdx: 1.2.1 -> 1.3.0 (#399415)

parents 31dac929 cf10b7d0
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  SDL2,
  stdenv,
  zlib,
  libGL,

  sm64baserom,
  enableCoopNet ? true,
@@ -36,13 +37,13 @@ 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.2.1";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = "coop-deluxe";
    repo = "sm64coopdx";
    rev = "v${finalAttrs.version}";
    hash = "sha256-QWxhu7wGIjOIJyqjqakUzhhF+WxQslZdX3aEWYdDZbw=";
    rev = "v1.3"; # it seems coopdx has taken on some stylistic versioning...
    hash = "sha256-ssbvNnBBxahzJRIX5Vhze+Nfh3ADoy+NrUIF2RZHye8=";
  };

  nativeBuildInputs = [ makeWrapper ];
@@ -54,6 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
    python3
    SDL2
    zlib
    libGL
  ];

  enableParallelBuilding = true;
@@ -114,7 +116,7 @@ stdenv.mkDerivation (finalAttrs: {
    maintainers = [ lib.maintainers.shelvacu ];
    mainProgram = "sm64coopdx";
    homepage = "https://sm64coopdx.com/";
    changelog = "https://github.com/coop-deluxe/sm64coopdx/releases/tag/v${finalAttrs.version}";
    changelog = "https://github.com/coop-deluxe/sm64coopdx/releases/tag/v1.3";
    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