From e82a0345ef37763d88e20d042ccd1b56911ff93b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 16 Jun 2018 01:32:15 +0100 Subject: [PATCH] micropolis: remove Old package without maintainer that no longer compiles. --- pkgs/games/micropolis/default.nix | 49 ------------------------------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 51 deletions(-) delete mode 100644 pkgs/games/micropolis/default.nix diff --git a/pkgs/games/micropolis/default.nix b/pkgs/games/micropolis/default.nix deleted file mode 100644 index 5c91911acaf5..000000000000 --- a/pkgs/games/micropolis/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ stdenv, fetchurl, libX11, libXpm, libXext, xextproto, byacc }: - -stdenv.mkDerivation { - name = "micropolis-2010-12-18"; # version from the patch timestamp - - src = fetchurl { - url = http://www.donhopkins.com/home/micropolis/micropolis-activity-source.tgz; - sha256 = "1b3c72dc3680a34b5fc5a740a6fb5cfc0b8775514da8ab7bb3b2965b20d4f8bc"; - }; - - patches = - [ (fetchurl { - url = http://rmdir.de/~michael/micropolis_git.patch; - sha256 = "10j0svcs576ip7v5mn99gvqx9ki8jfd5w5yvsxj57xh56dd0by2p"; - }) - ]; - - buildInputs = [ libX11 libXpm libXext xextproto byacc ]; - - preConfigure = - '' - cd src - sed -i "s@^CFLAGS.*\$@&\nCFLAGS += -I${libXpm.dev}/include/X11@" tk/makefile - sed -i "s@^INCLUDES.*\$@&\n\t-I$PWD/tcl \\\\@" sim/makefile - ''; - - postInstall = - '' - mkdir -p $out/bin - mkdir -p $out/usr/share/games/micropolis - cd .. - for d in activity cities images manual res; do - cp -R $d $out/usr/share/games/micropolis - done - cp Micropolis $out/usr/share/games/micropolis - cat > $out/bin/micropolis << EOF - #!${stdenv.shell} - cd $out/usr/share/games/micropolis - ./Micropolis - EOF - chmod 755 $out/bin/micropolis - ''; - - meta = { - description = "GPL'ed version of S*m C*ty"; - homepage = http://www.donhopkins.com/home/micropolis/; - license = "GPL"; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 45e62452181e..6a15909b01e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19402,8 +19402,6 @@ with pkgs; megaglest = callPackage ../games/megaglest {}; - micropolis = callPackage ../games/micropolis { }; - minecraft = callPackage ../games/minecraft { useAlsa = config.minecraft.alsa or false; };