Commit ff0e1b3d authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Francesco Gazzetta
Browse files

endgame-singularity: 1.00 -> 1.00-unstable-2025-03-18

Latest release crashes in the middle of the game when base setup is
attempted. THe upstream has the fix from last year at:
https://github.com/singularity/singularity/commit/57013b621d641ae9b0b2554918807a88b7727b87

But needs a few backports to make it apply. Let's track `master` instead.
parent dd15d7a2
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -5,17 +5,18 @@
  unzip,
  python3,
  enableDefaultMusicPack ? true,
  unstableGitUpdater,
}:

let
  pname = "endgame-singularity";
  version = "1.00";
  version = "1.00-unstable-2025-03-18";

  main_src = fetchFromGitHub {
    owner = "singularity";
    repo = "singularity";
    rev = "v${version}";
    sha256 = "0ndrnxwii8lag6vrjpwpf5n36hhv223bb46d431l9gsigbizv0hl";
    rev = "8bbc2322ad1a0e83f78f5af731dfa97b6bd63f9c";
    hash = "sha256-HiFE746JtGjZJbiKhB3ubfb376tJmz78jUfdu3/RQic=";
  };

  music_src = fetchurl {
@@ -44,6 +45,14 @@ python3.pkgs.buildPythonApplication {
          # ↑ we cannot glob on [...]/music, it doesn't exist yet
  '';

  passthru = {
    # for the updater
    src = main_src;
    updateScript = unstableGitUpdater {
      tagPrefix = "v";
    };
  };

  meta = {
    homepage = "http://www.emhsoft.com/singularity/";
    description = "Simulation game about strong AI";