summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2022-06-02 17:52:14 +0200
committerajs124 <git@ajs124.de>2022-06-02 18:05:57 +0200
commit7b3ca2f395ffac488a44c5c56fe3e8299cc5785c (patch)
tree85b0542af21faac90aab54a1c18100fb8b25f0f7 /pkgs/games
parent77d9d13f3e034c0eb2d822756fd7c28e425f773f (diff)
downloadnixpkgs-7b3ca2f395ffac488a44c5c56fe3e8299cc5785c.tar
nixpkgs-7b3ca2f395ffac488a44c5c56fe3e8299cc5785c.tar.gz
nixpkgs-7b3ca2f395ffac488a44c5c56fe3e8299cc5785c.tar.bz2
nixpkgs-7b3ca2f395ffac488a44c5c56fe3e8299cc5785c.tar.lz
nixpkgs-7b3ca2f395ffac488a44c5c56fe3e8299cc5785c.tar.xz
nixpkgs-7b3ca2f395ffac488a44c5c56fe3e8299cc5785c.tar.zst
nixpkgs-7b3ca2f395ffac488a44c5c56fe3e8299cc5785c.zip
zangband: remove after being marked broken for over 18 months
It was marked in commit 3ba7d2ae018988212a780dc935ebfc482312dab8 by Edward Tjörnhammar on 2018-11-11 (commited on 2018-11-11)
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/zangband/default.nix59
1 files changed, 0 insertions, 59 deletions
diff --git a/pkgs/games/zangband/default.nix b/pkgs/games/zangband/default.nix
deleted file mode 100644
index 7548b082a13..00000000000
--- a/pkgs/games/zangband/default.nix
+++ /dev/null
@@ -1,59 +0,0 @@
-{ lib, stdenv, fetchurl, ncurses, flex, bison, autoconf, automake, m4, coreutils }:
-
-stdenv.mkDerivation rec {
-  pname = "zangband";
-  version = "2.7.4b";
-
-  src = fetchurl {
-    url = "mirror://sourceforge/project/${pname}/${pname}-src/${version}/${pname}-${version}.tar.gz";
-    sha256 = "0kkz6f9myhjnr3308sdab8q186rd55lapvcp38w8qmakdbhc828j";
-  };
-
-  nativeBuildInputs = [ autoconf automake ];
-  buildInputs = [
-    ncurses flex bison m4
-  ];
-
-  preConfigure = ''
-    sed -re 's/ch(own|grp|mod)/true/' -i lib/*/makefile.zb makefile.in
-    sed -e '/FIXED_PATHS/d' -i src/z-config.h
-    autoconf
-  '';
-
-  preInstall = ''
-    mkdir -p $out/share/games/zangband
-    mkdir -p $out/share/man
-    mkdir -p $out/bin
-  '';
-
-  postInstall = ''
-    mv $out/bin/zangband $out/bin/.zangband.real
-    echo '#! ${stdenv.shell}
-      PATH="$PATH:${coreutils}/bin"
-
-      ZANGBAND_PATH="$HOME/.zangband"
-      ORIG_PATH="'$out'"/share/games/zangband
-      mkdir -p "$ZANGBAND_PATH"
-      cd "$ZANGBAND_PATH"
-      for i in $(find "$ORIG_PATH" -type f); do
-        REL_PATH="''${i#$ORIG_PATH/}"
-        mkdir -p "$(dirname "$REL_PATH")"
-        ln -s "$i" "$REL_PATH" &>/dev/null
-      done
-      mkdir -p lib/user lib/save
-      for i in lib/*/*.raw; do
-        test -L "$i" && rm "$i";
-      done
-      for i in $(find lib -type l); do if ! test -e $(readlink "$i"); then rm "$i"; fi; done;
-      export ANGBAND_PATH="$PWD"
-      "'$out'/bin/.zangband.real" "$@"
-    ' > $out/bin/zangband
-    chmod +x $out/bin/zangband
-  '';
-
-  meta = {
-    description = "Rogue-like game";
-    license = lib.licenses.unfree;
-    broken = true; # broken in runtime, will not get pass character generation
-  };
-}