various: migrate pkgs/games to by-name/ (#455402)

This commit is contained in:
h7x4
2025-10-29 06:45:48 +00:00
committed by GitHub
51 changed files with 187 additions and 255 deletions
@@ -9,14 +9,14 @@
withTTS ? false,
speechd-minimal,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "blightmud";
version = "5.3.1";
src = fetchFromGitHub {
owner = "blightmud";
repo = "blightmud";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-9GUul5EoejcnCQqq1oX+seBtxttYIUhgcexaZk+7chk=";
};
@@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec {
in
builtins.concatStringsSep " " (map skipFlag skipList);
meta = with lib; {
meta = {
description = "Terminal MUD client written in Rust";
mainProgram = "blightmud";
longDescription = ''
@@ -72,8 +72,8 @@ rustPlatform.buildRustPackage rec {
friendly mode.
'';
homepage = "https://github.com/Blightmud/Blightmud";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ cpu ];
platforms = platforms.linux ++ platforms.darwin;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ cpu ];
platforms = with lib.platforms; linux ++ darwin;
};
}
})
@@ -8,13 +8,6 @@
python3,
ffmpeg,
libopus,
wrapQtAppsHook,
qtbase,
qtmultimedia,
qtsvg,
qtwayland,
qtdeclarative,
qtwebengine,
SDL2,
libevdev,
udev,
@@ -33,6 +26,7 @@
lcms2,
libdovi,
xxHash,
kdePackages,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -42,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "streetpea";
repo = "chiaki-ng";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7pDQnlElnBkW+Nr6R+NaylZbsGH8dB31nd7jxYD66yQ=";
fetchSubmodules = true;
};
@@ -50,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
kdePackages.wrapQtAppsHook
protobuf
python3
python3.pkgs.wrapPython
@@ -61,12 +55,12 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
ffmpeg
libopus
qtbase
qtmultimedia
qtsvg
qtdeclarative
qtwayland
qtwebengine
kdePackages.qtbase
kdePackages.qtmultimedia
kdePackages.qtsvg
kdePackages.qtdeclarative
kdePackages.qtwayland
kdePackages.qtwebengine
protobuf
SDL2
curlFull
@@ -108,16 +102,16 @@ stdenv.mkDerivation (finalAttrs: {
wrapPythonPrograms
'';
meta = with lib; {
meta = {
homepage = "https://streetpea.github.io/chiaki-ng/";
description = "Next-Generation of Chiaki (the open-source remote play client for PlayStation)";
# Includes OpenSSL linking exception that we currently have no way
# to represent.
#
# See also: <https://github.com/spdx/license-list-XML/issues/939>
license = licenses.agpl3Only;
maintainers = with maintainers; [ devusb ];
platforms = platforms.linux;
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ devusb ];
platforms = lib.platforms.linux;
mainProgram = "chiaki";
};
})
@@ -6,24 +6,20 @@
pkg-config,
ffmpeg,
libopus,
mkDerivation,
qtbase,
qtmultimedia,
qtsvg,
SDL2,
libevdev,
udev,
qtmacextras,
nanopb,
libsForQt5,
}:
mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "chiaki";
version = "2.2.0";
src = fetchgit {
url = "https://git.sr.ht/~thestr4ng3r/chiaki";
rev = "v${version}";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-mLx2ygMlIuDJt9iT4nIj/dcLGjMvvmneKd49L7C3BQk=";
};
@@ -31,6 +27,7 @@ mkDerivation rec {
nativeBuildInputs = [
cmake
pkg-config
libsForQt5.wrapQtAppsHook
];
postPatch = ''
@@ -42,9 +39,9 @@ mkDerivation rec {
buildInputs = [
ffmpeg
libopus
qtbase
qtmultimedia
qtsvg
libsForQt5.qtbase
libsForQt5.qtmultimedia
libsForQt5.qtsvg
SDL2
nanopb
]
@@ -53,19 +50,19 @@ mkDerivation rec {
udev
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
qtmacextras
libsForQt5.qtmacextras
];
doCheck = true;
installCheckPhase = "$out/bin/chiaki --help";
meta = with lib; {
meta = {
homepage = "https://git.sr.ht/~thestr4ng3r/chiaki";
description = "Free and Open Source PlayStation Remote Play Client";
license = licenses.agpl3Only;
license = lib.licenses.agpl3Only;
maintainers = [ ];
platforms = platforms.all;
platforms = lib.platforms.all;
mainProgram = "chiaki";
};
}
})
@@ -3,14 +3,11 @@
stdenv,
cmake,
fetchFromBitbucket,
wrapQtAppsHook,
pkg-config,
qtbase,
qttools,
qtmultimedia,
zlib,
bzip2,
xxd,
qt5,
}:
stdenv.mkDerivation {
@@ -31,15 +28,15 @@ stdenv.mkDerivation {
];
nativeBuildInputs = [
wrapQtAppsHook
qt5.wrapQtAppsHook
cmake
qttools
qt5.qttools
pkg-config
xxd
];
buildInputs = [
qtbase
qtmultimedia
qt5.qtbase
qt5.qtmultimedia
zlib
bzip2
];
@@ -52,12 +49,12 @@ stdenv.mkDerivation {
ln -s $out/lib/doomseeker/doomseeker $out/bin/
'';
meta = with lib; {
meta = {
homepage = "http://doomseeker.drdteam.org/";
description = "Multiplayer server browser for many Doom source ports";
mainProgram = "doomseeker";
license = licenses.gpl2Plus;
platforms = platforms.unix;
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = [ ];
};
}
@@ -64,11 +64,11 @@ stdenv.mkDerivation {
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
meta = {
description = "Source Port of the Descent 1 and 2 engines";
homepage = "https://www.dxx-rebirth.com/";
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = with platforms; linux;
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ peterhoeg ];
platforms = lib.platforms.linux;
};
}
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "layday";
repo = "instawow";
tag = "v${version}";
sha256 = "sha256-NFs8+BUXJEn64TDojG/xkH1O+zZurv0PWY+YDhu2mQY=";
hash = "sha256-NFs8+BUXJEn64TDojG/xkH1O+zZurv0PWY+YDhu2mQY=";
};
extras = [ ]; # Disable GUI, most dependencies are not packaged.
@@ -44,11 +44,11 @@ python3.pkgs.buildPythonApplication rec {
]
++ plugins;
meta = with lib; {
meta = {
homepage = "https://github.com/layday/instawow";
description = "World of Warcraft add-on manager CLI and GUI";
mainProgram = "instawow";
license = licenses.gpl3;
maintainers = with maintainers; [ seirl ];
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ seirl ];
};
}
@@ -14,7 +14,6 @@
let
inherit (lib)
and
licenses
maintainers
optional
@@ -27,8 +26,8 @@ let
main_src = fetchFromGitHub {
owner = "olofson";
repo = pname;
rev = "v${version}";
repo = "koboredux";
tag = "v${version}";
sha256 = "09h9r65z8bar2z89s09j6px0gdq355kjf38rmd85xb2aqwnm6xig";
};
@@ -18,7 +18,7 @@
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "linthesia";
version = "unstable-2023-05-23";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
owner = "linthesia";
repo = "linthesia";
rev = "1f2701241f8865c2f5c14a97b81ae64884cf0396";
sha256 = "sha256-3uPcpDUGtAGW9q/u8Cn+0bNqikII1Y/a0PKARW/5nao=";
hash = "sha256-3uPcpDUGtAGW9q/u8Cn+0bNqikII1Y/a0PKARW/5nao=";
};
postPatch = ''
@@ -52,12 +52,12 @@ stdenv.mkDerivation rec {
gtk3.out # icon cache
];
meta = with lib; {
meta = {
description = "Game of playing music using a MIDI keyboard following a MIDI file";
mainProgram = "linthesia";
inherit (src.meta) homepage;
license = licenses.gpl2Plus;
platforms = platforms.linux;
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = [ ];
};
}
})
@@ -6,20 +6,16 @@
cmake,
git,
pkg-config,
qttools,
which,
wrapQtAppsHook,
boost,
hunspell,
libGLU,
libsForQt5,
libsecret,
libzip,
lua,
lua5_1,
pcre,
pugixml,
qtbase,
qtmultimedia,
discord-rpc,
yajl,
withDiscordRpc ? false,
@@ -43,7 +39,7 @@ let
});
};
in
lua.override { inherit packageOverrides; };
lua5_1.override { inherit packageOverrides; };
luaEnv = overrideLua.withPackages (
ps: with ps; [
@@ -56,14 +52,14 @@ let
]
);
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "mudlet";
version = "4.19.1";
src = fetchFromGitHub {
owner = "Mudlet";
repo = "Mudlet";
rev = "Mudlet-${version}";
rev = "Mudlet-${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-I4RRIfHw9kZwxMlc9pvdtwPpq9EvNJU69WpGgZ+0uiw=";
};
@@ -81,9 +77,9 @@ stdenv.mkDerivation rec {
git
luaEnv
pkg-config
qttools
libsForQt5.qttools
which
wrapQtAppsHook
libsForQt5.wrapQtAppsHook
];
buildInputs = [
@@ -96,8 +92,8 @@ stdenv.mkDerivation rec {
luaEnv
pcre
pugixml
qtbase
qtmultimedia
libsForQt5.qtbase
libsForQt5.qtmultimedia
yajl
]
++ lib.optional withDiscordRpc discord-rpc;
@@ -129,7 +125,7 @@ stdenv.mkDerivation rec {
cp -r src/mudlet.app/ $out/Applications/mudlet.app
mv $out/Applications/mudlet.app/Contents/MacOS/mudlet $out/Applications/mudlet.app/Contents/MacOS/mudlet-unwrapped
makeQtWrapper $out/Applications/Mudlet.app/Contents/MacOS/mudlet-unwrapped $out/Applications/Mudlet.app/Contents/MacOS/mudlet \
--set LUA_CPATH "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \
--set LUA_CPATH "${luaEnv}/lib/lua/${lua5_1.luaversion}/?.so" \
--prefix LUA_PATH : "$NIX_LUA_PATH" \
--prefix DYLD_LIBRARY_PATH : "${
lib.makeLibraryPath (
@@ -146,7 +142,7 @@ stdenv.mkDerivation rec {
mkdir -pv $out/bin
cp src/mudlet $out/bin/mudlet-unwrapped
makeQtWrapper $out/bin/mudlet-unwrapped $out/bin/mudlet \
--set LUA_CPATH "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \
--set LUA_CPATH "${luaEnv}/lib/lua/${lua5_1.luaversion}/?.so" \
--prefix LUA_PATH : "$NIX_LUA_PATH" \
--prefix LD_LIBRARY_PATH : "${
lib.makeLibraryPath (
@@ -166,18 +162,18 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Crossplatform mud client";
homepage = "https://www.mudlet.org/";
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
wyvie
pstn
cpu
felixalbrigtsen
];
platforms = platforms.linux ++ platforms.darwin;
platforms = with lib.platforms; linux ++ darwin;
broken = stdenv.hostPlatform.isDarwin;
license = licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
mainProgram = "mudlet";
};
}
})
@@ -5,12 +5,12 @@
ncurses,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "npush";
version = "0.7";
src = fetchurl {
url = "mirror://sourceforge/project/npush/${pname}/${version}/${pname}-${version}.tgz";
url = "mirror://sourceforge/project/npush/npush/${finalAttrs.version}/npush-${finalAttrs.version}.tgz";
hash = "sha256-8hbSsyeehzd4T3fUhDyebyI/oTHOHr3a8ArYAquivNk=";
};
@@ -42,13 +42,13 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://npush.sourceforge.net/";
description = "Sokoban-like game";
mainProgram = "npush";
license = licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = with platforms; unix;
platforms = lib.platforms.unix;
};
}
})
@@ -7,7 +7,7 @@
libGL,
openssl,
pkg-config,
SDL,
SDL_compat,
SDL_image,
SDL_mixer,
SDL_gfx,
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
boost
libGL
libGLU
SDL
SDL_compat
SDL_gfx
SDL_image
SDL_mixer
@@ -3,15 +3,9 @@
fetchFromGitHub,
stdenv,
cmake,
qtbase,
qtgraphicaleffects,
qtmultimedia,
qtsvg,
qttools,
qtx11extras,
SDL2,
sqlite,
wrapQtAppsHook,
libsForQt5,
}:
stdenv.mkDerivation {
@@ -28,26 +22,29 @@ stdenv.mkDerivation {
nativeBuildInputs = [
cmake
qttools
wrapQtAppsHook
libsForQt5.qttools
libsForQt5.wrapQtAppsHook
];
buildInputs = [
qtbase
qtmultimedia
qtsvg
qtgraphicaleffects
qtx11extras
sqlite
SDL2
];
buildInputs =
(with libsForQt5; [
qtbase
qtmultimedia
qtsvg
qtgraphicaleffects
qtx11extras
])
++ [
sqlite
SDL2
];
meta = with lib; {
meta = {
description = "Cross platform, customizable graphical frontend for launching emulators and managing your game collection";
mainProgram = "pegasus-fe";
homepage = "https://pegasus-frontend.org/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ tengkuizdihar ];
platforms = platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ tengkuizdihar ];
platforms = lib.platforms.linux;
};
}
@@ -1,18 +1,15 @@
{
lib,
mkDerivation,
stdenv,
libsForQt5,
fetchFromGitHub,
qmake,
qtbase,
qtmultimedia,
qttools,
}:
mkDerivation {
stdenv.mkDerivation {
pname = "qgo";
version = "unstable-2017-12-18";
meta = with lib; {
meta = {
description = "Go client based on Qt5";
mainProgram = "qgo";
longDescription = ''
@@ -28,8 +25,8 @@ mkDerivation {
Chinese, "(Yi Go)" in Japanese, "(Baduk)" in Korean.
'';
homepage = "https://github.com/pzorin/qgo";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ zalakain ];
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ zalakain ];
};
src = fetchFromGitHub {
@@ -44,11 +41,12 @@ mkDerivation {
sed -i 's|@out@|'"''${out}"'|g' src/src.pro src/defines.h
'';
nativeBuildInputs = [
qmake
qttools
libsForQt5.qmake
libsForQt5.qttools
libsForQt5.wrapQtAppsHook
];
buildInputs = [
qtbase
qtmultimedia
libsForQt5.qtbase
libsForQt5.qtmultimedia
];
}
@@ -1,31 +1,31 @@
{
lib,
mkDerivation,
stdenv,
fetchFromGitHub,
pkg-config,
qmake,
SDL2,
fluidsynth,
libsndfile,
libvorbis,
mpg123,
qtbase,
qt5,
}:
mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "qtads";
version = "3.4.0";
src = fetchFromGitHub {
owner = "realnc";
repo = "qtads";
rev = "v${version}";
sha256 = "sha256-KIqufpvl7zeUtDBXUOAZxBIbfv+s51DoSaZr3jol+bw=";
tag = "v${finalAttrs.version}";
hash = "sha256-KIqufpvl7zeUtDBXUOAZxBIbfv+s51DoSaZr3jol+bw=";
};
nativeBuildInputs = [
pkg-config
qmake
qt5.qmake
qt5.wrapQtAppsHook
];
buildInputs = [
@@ -34,15 +34,15 @@ mkDerivation rec {
libsndfile
libvorbis
mpg123
qtbase
qt5.qtbase
];
meta = with lib; {
meta = {
homepage = "https://realnc.github.io/qtads/";
description = "Multimedia interpreter for TADS games";
mainProgram = "qtads";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ orivej ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ orivej ];
};
}
})
@@ -20,16 +20,16 @@
useSDL2 ? stdenv.hostPlatform.isDarwin, # TODO: CoreAudio fails to initialize with SDL 1.x for some reason.
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "quakespasm";
version = "0.96.3";
src = fetchurl {
url = "mirror://sourceforge/quakespasm/quakespasm-${version}.tar.gz";
sha256 = "sha256-tXjWzkpPf04mokRY8YxLzI04VK5iUuuZgu6B2V5QGA4=";
url = "mirror://sourceforge/quakespasm/quakespasm-${finalAttrs.version}.tar.gz";
hash = "sha256-tXjWzkpPf04mokRY8YxLzI04VK5iUuuZgu6B2V5QGA4=";
};
sourceRoot = "${pname}-${version}/Quake";
sourceRoot = "quakespasm-${finalAttrs.version}/Quake";
patches = lib.optionals stdenv.hostPlatform.isDarwin [
# Makes Darwin Makefile use system libraries instead of ones from app bundle
@@ -113,7 +113,7 @@ stdenv.mkDerivation rec {
})
];
meta = with lib; {
meta = {
description = "Engine for iD software's Quake";
homepage = "https://quakespasm.sourceforge.net/";
longDescription = ''
@@ -125,8 +125,8 @@ stdenv.mkDerivation rec {
and smoother mouse input - though no CD support.
'';
platforms = platforms.unix;
maintainers = with maintainers; [ mikroskeem ];
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ mikroskeem ];
mainProgram = "quake";
};
}
})
@@ -2,30 +2,30 @@
lib,
stdenv,
fetchurl,
ncurses,
ncurses5,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "rogue";
version = "5.4.4";
src = fetchurl {
urls = [
"https://src.fedoraproject.org/repo/pkgs/rogue/rogue${version}-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue${version}-src.tar.gz"
"http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/slitaz/sources/packages-cooking/r/rogue${version}-src.tar.gz"
"http://rogue.rogueforge.net/files/rogue${lib.versions.majorMinor version}/rogue${version}-src.tar.gz"
"https://src.fedoraproject.org/repo/pkgs/rogue/rogue${finalAttrs.version}-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue${finalAttrs.version}-src.tar.gz"
"http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/slitaz/sources/packages-cooking/r/rogue${finalAttrs.version}-src.tar.gz"
"http://rogue.rogueforge.net/files/rogue${lib.versions.majorMinor finalAttrs.version}/rogue${finalAttrs.version}-src.tar.gz"
];
sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx";
};
buildInputs = [ ncurses ];
buildInputs = [ ncurses5 ];
meta = with lib; {
meta = {
homepage = "http://rogue.rogueforge.net/rogue-5-4/";
description = "Final version of the original Rogue game developed for the UNIX operating system";
mainProgram = "rogue";
platforms = platforms.all;
license = licenses.bsd3;
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})
@@ -23,14 +23,14 @@
nix-update-script,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "scummvm";
version = "2.9.1";
src = fetchFromGitHub {
owner = "scummvm";
repo = "scummvm";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-+MM47piuXuIBmAQd0g/cAg5t02qSQ0sw/DwFrMUSIAA=";
};
@@ -82,12 +82,12 @@ stdenv.mkDerivation rec {
updateScript = nix-update-script { };
};
meta = with lib; {
meta = {
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
mainProgram = "scummvm";
homepage = "https://www.scummvm.org/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.peterhoeg ];
platforms = platforms.unix;
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ peterhoeg ];
platforms = lib.platforms.unix;
};
}
})
@@ -5,27 +5,27 @@
cmake,
boost,
eigen2,
lua,
lua5_1,
luabind,
libGLU,
libGL,
SDL,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "soi";
version = "0.1.2";
src = fetchurl {
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
name = "${pname}-${version}.tar.bz2";
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${finalAttrs.version}-Source.tar.bz2";
name = "soi-${finalAttrs.version}.tar.bz2";
sha256 = "03c3wnvhd42qh8mi68lybf8nv6wzlm1nx16d6pdcn2jzgx1j2lzd";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
boost
lua
lua5_1
luabind
libGLU
libGL
@@ -41,12 +41,12 @@ stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/issues/445447
patches = [ ./cmake-4-build.patch ];
meta = with lib; {
meta = {
description = "Physics-based puzzle game";
mainProgram = "soi";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
license = licenses.free;
maintainers = with lib.maintainers; [ raskin ];
platforms = lib.platforms.linux;
license = lib.licenses.free;
downloadPage = "https://sourceforge.net/projects/soi/files/";
};
}
})
@@ -16,25 +16,23 @@
ninja,
pkg-config,
python3,
qtbase,
qttools,
onetbb,
unshield,
wrapQtAppsHook,
xz,
zlib,
testers,
vcmi,
libsForQt5,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "vcmi";
version = "1.6.8";
src = fetchFromGitHub {
owner = "vcmi";
repo = "vcmi";
rev = version;
tag = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-k6tkylNXEzU+zzYoFWtx+AkoHQzAwbBxPB2DVevsryw=";
};
@@ -44,7 +42,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
python3
wrapQtAppsHook
libsForQt5.wrapQtAppsHook
];
buildInputs = [
@@ -57,8 +55,8 @@ stdenv.mkDerivation rec {
fuzzylite
luajit
minizip
qtbase
qttools
libsForQt5.qtbase
libsForQt5.qttools
onetbb
xz
zlib
@@ -97,16 +95,16 @@ stdenv.mkDerivation rec {
'';
};
meta = with lib; {
meta = {
description = "Open-source engine for Heroes of Might and Magic III";
homepage = "https://vcmi.eu";
changelog = "https://github.com/vcmi/vcmi/blob/${src.rev}/ChangeLog.md";
license = with licenses; [
changelog = "https://github.com/vcmi/vcmi/blob/${finalAttrs.src.rev}/ChangeLog.md";
license = with lib.licenses; [
gpl2Plus
cc-by-sa-40
];
maintainers = with maintainers; [ azahi ];
platforms = platforms.linux;
maintainers = with lib.maintainers; [ azahi ];
platforms = lib.platforms.linux;
mainProgram = "vcmilauncher";
};
}
})
+17 -61
View File
@@ -3568,8 +3568,6 @@ with pkgs;
pandoc-secnos = python3Packages.callPackage ../tools/misc/pandoc-secnos { };
pandoc-tablenos = python3Packages.callPackage ../tools/misc/pandoc-tablenos { };
pegasus-frontend = libsForQt5.callPackage ../games/pegasus-frontend { };
pgbadger = perlPackages.callPackage ../tools/misc/pgbadger { };
nifskope = libsForQt5.callPackage ../tools/graphics/nifskope { };
@@ -4148,8 +4146,6 @@ with pkgs;
vacuum = libsForQt5.callPackage ../applications/networking/instant-messengers/vacuum { };
vcmi = libsForQt5.callPackage ../games/vcmi { };
video2midi = callPackage ../tools/audio/video2midi {
pythonPackages = python3Packages;
};
@@ -5028,8 +5024,6 @@ with pkgs;
indradb-client
;
instawow = callPackage ../games/instawow/default.nix { };
irony-server = callPackage ../development/tools/irony-server {
# The repository of irony to use -- must match the version of the employed emacs
# package. Wishing we could merge it into one irony package, to avoid this issue,
@@ -10012,8 +10006,6 @@ with pkgs;
libkrun-sev = libkrun.override { variant = "sev"; };
libkrun-tdx = libkrun.override { variant = "tdx"; };
linthesia = callPackage ../games/linthesia/default.nix { };
projecteur = libsForQt5.callPackage ../os-specific/linux/projecteur { };
lklWithFirewall = lkl.override { firewallSupport = true; };
@@ -13048,8 +13040,6 @@ with pkgs;
### GAMES/DOOM-PORTS
doomseeker = qt5.callPackage ../games/doom-ports/doomseeker { };
enyo-launcher = libsForQt5.callPackage ../games/doom-ports/enyo-launcher { };
zandronum = callPackage ../games/doom-ports/zandronum { };
@@ -13060,8 +13050,6 @@ with pkgs;
fmodex = callPackage ../games/doom-ports/zandronum/fmod.nix { };
qgo = libsForQt5.callPackage ../games/qgo { };
anki-utils = callPackage ../by-name/an/anki/addons/anki-utils.nix { };
ankiAddons = recurseIntoAttrs (callPackage ../by-name/an/anki/addons { });
@@ -13090,10 +13078,6 @@ with pkgs;
cataclysm-dda-git = cataclysmDDA.git.tiles;
chiaki = libsForQt5.callPackage ../games/chiaki { };
chiaki-ng = kdePackages.callPackage ../games/chiaki-ng { };
cockatrice = libsForQt5.callPackage ../games/cockatrice {
protobuf = protobuf_21;
};
@@ -13110,12 +13094,10 @@ with pkgs;
inherit libGL libGLU libglut;
};
crawlTiles = callPackage ../games/crawl {
crawlTiles = callPackage ../by-name/cr/crawl/package.nix {
tileMode = true;
};
crawl = callPackage ../games/crawl { };
curseofwar = callPackage ../games/curseofwar { SDL = null; };
curseofwar-sdl = callPackage ../games/curseofwar { ncurses = null; };
@@ -13129,14 +13111,12 @@ with pkgs;
dfhack = dwarf-fortress-packages.dwarf-fortress-full;
dxx-rebirth = callPackage ../games/dxx-rebirth { };
inherit (callPackages ../games/dxx-rebirth/assets.nix { })
inherit (callPackages ../by-name/dx/dxx-rebirth/assets.nix { })
descent1-assets
descent2-assets
;
inherit (callPackages ../games/dxx-rebirth/full.nix { })
inherit (callPackages ../by-name/dx/dxx-rebirth/full.nix { })
d1x-rebirth-full
d2x-rebirth-full
;
@@ -13201,13 +13181,10 @@ with pkgs;
gscrabble = python3Packages.callPackage ../games/gscrabble { };
qtads = qt5.callPackage ../games/qtads { };
ibmcloud-cli = callPackage ../tools/admin/ibmcloud-cli { stdenv = stdenvNoCC; };
iortcw = callPackage ../games/iortcw { };
# used as base package for iortcw forks
iortcw_sp = callPackage ../games/iortcw/sp.nix { };
iortcw_sp = callPackage ../by-name/io/iortcw/sp.nix { };
katagoWithCuda = katago.override {
backend = "cuda";
@@ -13221,9 +13198,7 @@ with pkgs;
backend = "tensorrt";
};
koboredux = callPackage ../games/koboredux { };
koboredux-free = callPackage ../games/koboredux {
koboredux-free = callPackage ../by-name/ko/koboredux/package.nix {
useProprietaryAssets = false;
};
@@ -13262,16 +13237,9 @@ with pkgs;
luanti-client = luanti.override { buildServer = false; };
luanti-server = luanti.override { buildClient = false; };
mudlet = libsForQt5.callPackage ../games/mudlet {
lua = lua5_1;
};
blightmud-tts = callPackage ../by-name/bl/blightmud/package.nix { withTTS = true; };
blightmud = callPackage ../games/blightmud { };
blightmud-tts = callPackage ../games/blightmud { withTTS = true; };
npush = callPackage ../games/npush { };
run-npush = callPackage ../games/npush/run.nix { };
run-npush = callPackage ../by-name/np/npush/run.nix { };
openloco = pkgsi686Linux.callPackage ../games/openloco { };
@@ -13299,8 +13267,6 @@ with pkgs;
openttd-grfcodec = callPackage ../games/openttd/grfcodec.nix { };
openttd-nml = callPackage ../games/openttd/nml.nix { };
openxcom = callPackage ../games/openxcom { SDL = SDL_compat; };
openxray = callPackage ../games/openxray {
# Builds with Clang, but hits an assertion failure unless GCC is used
# https://github.com/OpenXRay/xray-16/issues/1224
@@ -13336,20 +13302,13 @@ with pkgs;
quake3hires
;
quakespasm = callPackage ../games/quakespasm { };
vkquake = callPackage ../games/quakespasm/vulkan.nix { };
rogue = callPackage ../games/rogue {
ncurses = ncurses5;
};
vkquake = callPackage ../by-name/qu/quakespasm/vulkan.nix { };
rott-shareware = callPackage ../by-name/ro/rott/package.nix {
buildShareware = true;
};
scummvm = callPackage ../games/scummvm { };
inherit (callPackage ../games/scummvm/games.nix { })
inherit (callPackage ../by-name/sc/scummvm/games.nix { })
beneath-a-steel-sky
broken-sword-25
drascula-the-vampire-strikes-back
@@ -13362,23 +13321,20 @@ with pkgs;
isMobile = true;
};
shattered-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon { };
rkpd2 = callPackage ../games/shattered-pixel-dungeon/rkpd2 { };
rat-king-adventure = callPackage ../games/shattered-pixel-dungeon/rat-king-adventure { };
rkpd2 = callPackage ../by-name/sh/shattered-pixel-dungeon/rkpd2 { };
rat-king-adventure = callPackage ../by-name/sh/shattered-pixel-dungeon/rat-king-adventure { };
experienced-pixel-dungeon =
callPackage ../games/shattered-pixel-dungeon/experienced-pixel-dungeon
callPackage ../by-name/sh/shattered-pixel-dungeon/experienced-pixel-dungeon
{ };
summoning-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/summoning-pixel-dungeon { };
shorter-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/shorter-pixel-dungeon { };
tower-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/tower-pixel-dungeon { };
summoning-pixel-dungeon =
callPackage ../by-name/sh/shattered-pixel-dungeon/summoning-pixel-dungeon
{ };
shorter-pixel-dungeon = callPackage ../by-name/sh/shattered-pixel-dungeon/shorter-pixel-dungeon { };
tower-pixel-dungeon = callPackage ../by-name/sh/shattered-pixel-dungeon/tower-pixel-dungeon { };
# get binaries without data built by Hydra
simutrans_binaries = lowPrio simutrans.binaries;
soi = callPackage ../games/soi {
lua = lua5_1;
};
steam-run = steam.run;
steam-run-free = steam.run-free;