From 35ffde90e53c7801ab02b09a2faf67a70058d434 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Tue, 10 May 2022 11:04:05 +0100 Subject: [PATCH] tworld2: remove --- pkgs/games/tworld2/default.nix | 46 --------------------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 pkgs/games/tworld2/default.nix diff --git a/pkgs/games/tworld2/default.nix b/pkgs/games/tworld2/default.nix deleted file mode 100644 index 158d494fb32d..000000000000 --- a/pkgs/games/tworld2/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ stdenv -, lib -, fetchurl -, SDL -, qt4 -}: - -stdenv.mkDerivation rec { - pname = "tworld2"; - version = "2.2.0"; - - src = fetchurl { - url = "https://tw2.bitbusters.club/downloads/tworld-${version}-src.tar.gz"; - hash = "sha256-USy2F4es0W3xT4aI254OQ02asJKNt3V0Y72LCbXYpfg="; - }; - - buildInputs = [ SDL qt4 ]; - - enableParallelBuilding = true; - - postConfigure = '' - echo "#define COMPILE_TIME \"$(date -ud "@$SOURCE_DATE_EPOCH" '+%Y %b %e %T %Z')\"" >comptime.h - ''; - - makeFlags = [ - "bindir=${placeholder "out"}/bin" - "sharedir=${placeholder "out"}/share" - "mandir=${placeholder "out"}/share/man/en" - ]; - - postInstall = '' - mkdir -p $out/share/doc/${pname} - cp COPYING README docs/tworld2.html $out/share/doc/${pname} - - mkdir $out/share/icons - cp tworld.ico tworld2.ico $out/share/icons - ''; - - meta = with lib; { - homepage = "https://tw2.bitbusters.club/"; - description = "Tile World 2: Tile World is a reimplementation of the game Chip's Challenge"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ drperceptron ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 812478867368..81cc0d8c63f7 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1766,6 +1766,7 @@ mapAliases ({ turbo-geth = throw "turbo-geth has been renamed to erigon"; # Added 2021-08-08 tvbrowser-bin = tvbrowser; # Added 2023-03-02 twister = throw "twister has been removed: abandoned by upstream and python2-only"; # Added 2022-04-26 + tworld2 = throw "tworld2 has been removed, as it was unmaintained"; # Added 2022-05-09 tychus = throw "tychus has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 typora = throw "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed"; # Added 2021-09-11 typst-fmt = typstfmt; # Added 2023-07-15 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f98b3c14a35d..050569cb5fe4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -38689,8 +38689,6 @@ with pkgs; tuxtype = callPackage ../games/tuxtype { }; - tworld2 = callPackage ../games/tworld2 { }; - speed_dreams = callPackage ../games/speed-dreams { # Torcs wants to make shared libraries linked with plib libraries (it provides static). # i686 is the only platform I know than can do that linking without plib built with -fPIC