about summary refs log tree commit diff
path: root/pkgs/games/opendungeons/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/opendungeons/default.nix')
-rw-r--r--pkgs/games/opendungeons/default.nix72
1 files changed, 0 insertions, 72 deletions
diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix
deleted file mode 100644
index 3562aa8c6f89..000000000000
--- a/pkgs/games/opendungeons/default.nix
+++ /dev/null
@@ -1,72 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, cmake
-, pkg-config
-, ogre_13
-, cegui
-, boost
-, sfml
-, openal
-, ois
-}:
-
-let
-  ogre' = ogre_13.overrideAttrs (old: {
-    cmakeFlags = old.cmakeFlags ++ [
-      "-DOGRE_RESOURCEMANAGER_STRICT=0"
-    ];
-  });
-  cegui' = cegui.override {
-    ogre = ogre';
-  };
-in
-stdenv.mkDerivation {
-  pname = "opendungeons";
-  version = "unstable-2023-03-18";
-
-  src = fetchFromGitHub {
-    owner = "paroj";
-    repo = "OpenDungeons";
-    rev = "974378d75591214dccbe0fb26e6ec8a40c2156e0";
-    hash = "sha256-vz9cT+rNcyKT3W9I9VRKcFol2SH1FhOhOALALjgKfIE=";
-  };
-
-  patches = [
-    ./cmakepaths.patch
-    ./fix_link_date_time.patch
-  ];
-
-  # source/utils/StackTraceUnix.cpp:122:2: error: #error Unsupported architecture.
-  postPatch = lib.optionalString (!stdenv.isx86_64) ''
-    cp source/utils/StackTrace{Stub,Unix}.cpp
-  '';
-
-  strictDeps = true;
-
-  nativeBuildInputs = [
-    cmake
-    pkg-config
-  ];
-
-  buildInputs = [
-    ogre'
-    cegui'
-    boost
-    sfml
-    openal
-    ois
-  ];
-
-  cmakeFlags = [
-    "-DOD_TREAT_WARNINGS_AS_ERRORS=FALSE"
-  ];
-
-  meta = with lib; {
-    description = "Open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius";
-    mainProgram = "opendungeons";
-    homepage = "https://opendungeons.github.io";
-    license = with licenses; [ gpl3Plus zlib mit cc-by-sa-30 cc0 ofl cc-by-30 ];
-    platforms = platforms.linux;
-  };
-}