Commit f858d0aa authored by Peter H. Hoeg's avatar Peter H. Hoeg Committed by Peter Hoeg
Browse files

luanti-{client,server}: 5.11 -> 5.12

parent 9b71bc7b
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -34,18 +34,18 @@
  buildClient ? true,
  buildServer ? true,
  SDL2,
  useSDL2 ? false,
  useSDL2 ? true,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "luanti";
  version = "5.11.0";
  version = "5.12.0";

  src = fetchFromGitHub {
    owner = "minetest";
    repo = "minetest";
    owner = "luanti-org";
    repo = "luanti";
    tag = finalAttrs.version;
    hash = "sha256-0PJK7sS2oFTNWex9rLTgVIqaRhwuUb6H5HIlVOGA08k=";
    hash = "sha256-voP2/6s2tjsIULHa5+M08oNNLg0YQmtFmPeNO4TnE9E=";
  };

  patches = [
@@ -120,7 +120,7 @@ stdenv.mkDerivation (finalAttrs: {
    ++ lib.optionals (buildClient && useSDL2) [
      SDL2
    ]
    ++ lib.optionals (buildClient && !stdenv.hostPlatform.isDarwin && !useSDL2) [
    ++ lib.optionals (buildClient && !stdenv.hostPlatform.isDarwin) [
      xorg.libX11
      xorg.libXi
    ]