Commit e508aab4 authored by Jason Yundt's avatar Jason Yundt
Browse files

descent3-unwrapped: 1.5.0-beta-unstable-2025-02-13 → 1.5.0-beta-unstable-2025-03-06

parent e719d174
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
{
  SDL2,
  cmake,
  fetchFromGitHub,
  glm,
  httplib,
  lib,
  openssl,
  plog,
  runCommand,
  sdl3,
  stdenv,
  unstableGitUpdater,
  writeShellScript,
@@ -17,12 +20,11 @@ stdenv.mkDerivation rec {
  # the wrapped version of Descent 3. Once there’s a stable version of Descent
  # 3 that supports the -additionaldir command-line option, we can stop using
  # an unstable version of Descent 3.
  version = "1.5.0-beta-unstable-2025-02-13";
  version = "1.5.0-beta-unstable-2025-03-06";
  src = fetchFromGitHub {
    owner = "DescentDevelopers";
    repo = "Descent3";
    rev = "10a20d7cb769a08010e7887b4701a0ecfb142492";
    fetchSubmodules = true;
    rev = "c99e57cfabb16b2b428d4827eedb26b8cc20a1ee";
    leaveDotGit = true;
    # Descent 3 is supposed to display its Git commit hash in the bottom right
    # corner of the main menu. That feature only works if either the .git
@@ -48,14 +50,17 @@ stdenv.mkDerivation rec {
      git rev-parse --verify HEAD | tr --delete '\n' > git-hash.txt
      rm -r .git
    '';
    hash = "sha256-Ufu6oHLUn0eI6OTp8cfHRLYpx+tZ3QwX4qz3KpTbQ68=";
    hash = "sha256-HbEAv4HFZromeVfsH66m9PwinOG9qs5rQLGK5hkO3+A=";
  };

  hardeningDisable = [ "format" ];
  nativeBuildInputs = [ cmake ];
  buildInputs = [
    SDL2
    glm
    httplib
    openssl
    plog
    sdl3
    zlib
  ];
  cmakeFlags = [ "-DFORCE_PORTABLE_INSTALL=OFF" ];