From db348d66c141e14893c1474d8c71919acca3eea3 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 4 Apr 2026 00:10:43 +0200 Subject: [PATCH] zdoom: drop --- pkgs/by-name/zd/zdoom/package.nix | 82 ------------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 82 deletions(-) delete mode 100644 pkgs/by-name/zd/zdoom/package.nix diff --git a/pkgs/by-name/zd/zdoom/package.nix b/pkgs/by-name/zd/zdoom/package.nix deleted file mode 100644 index 395b59635d4c..000000000000 --- a/pkgs/by-name/zd/zdoom/package.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - p7zip, - cmake, - SDL2, - openal, - fluidsynth, - soundfont-fluid, - bzip2, - zlib, - libjpeg, - game-music-emu, - libsndfile, - mpg123, -}: - -stdenv.mkDerivation rec { - pname = "zdoom"; - majorVersion = "2.8"; - version = "${majorVersion}.1"; - - src = fetchurl { - url = "https://zdoom.org/files/zdoom/${majorVersion}/zdoom-${version}-src.7z"; - sha256 = "0453fqrh9l00xwphfxni5qkf9y134n3s1mr1dvi5cbkxcva7j8bq"; - }; - - nativeBuildInputs = [ - p7zip - cmake - ]; - buildInputs = [ - SDL2 - openal - fluidsynth - bzip2 - zlib - libjpeg - game-music-emu - libsndfile - mpg123 - ]; - - cmakeFlags = [ - "-DFORCE_INTERNAL_GME=OFF" - "-DGME_INCLUDE_DIR=${game-music-emu}/include" - "-DGME_LIBRARIES=${game-music-emu}/lib/libgme.so" - ]; - - sourceRoot = "."; - - env.NIX_CFLAGS_LINK = toString [ - "-lopenal" - "-lfluidsynth" - ]; - - preConfigure = '' - sed -i \ - -e "s@/usr/share/sounds/sf2/@${soundfont-fluid}/share/soundfonts/@g" \ - -e "s@FluidR3_GM.sf2@FluidR3_GM2-2.sf2@g" \ - src/sound/music_fluidsynth_mididevice.cpp - ''; - - installPhase = '' - install -Dm755 zdoom "$out/lib/zdoom/zdoom" - for i in *.pk3; do - install -Dm644 "$i" "$out/lib/zdoom/$i" - done - mkdir -p $out/bin - ln -s $out/lib/zdoom/zdoom $out/bin/zdoom - ''; - - meta = { - homepage = "http://zdoom.org/"; - description = "Enhanced port of the official DOOM source code"; - # Doom source license, MAME license - license = lib.licenses.unfreeRedistributable; - platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ lassulus ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 69322770da6c..cebee9aa0f01 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2467,6 +2467,7 @@ mapAliases { zandronum-alpha-server = throw "'zandronum-alpha-server' has been removed as it was broken and the stable version has caught up"; # Added 2025-10-19 zashboard = throw "'zashboard' has been removed because upstream repository source code has been deleted"; # Added 2025-12-29 zbackup = throw "'zbackup' has been removed due to being unmaintained upstream"; # Added 2025-08-22 + zdoom = throw "'zdoom' has been removed as it was broken and unmaintained upstream. Consider using UZDoom instead."; # Added 2026-04-04 zeal-qt5 = warnAlias "'zeal-qt5' has been removed from nixpkgs. Please use 'zeal' instead" zeal; # Added 2025-08-31 zeal-qt6 = warnAlias "'zeal-qt6' has been renamed to 'zeal'" zeal; # Added 2025-08-31 zeroadPackages.zeroad = throw "'zeroadPackages.zeroad' has been renamed to/replaced by 'zeroad'"; # Converted to throw 2025-10-27