lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

pkgs/games: stdenv.lib -> lib

+457 -465
+1 -1
pkgs/games/abbaye-des-morts/default.nix
··· 15 15 16 16 makeFlags = [ "PREFIX=$(out)" "DESTDIR=" ]; 17 17 18 - preBuild = stdenv.lib.optionalString stdenv.cc.isClang 18 + preBuild = lib.optionalString stdenv.cc.isClang 19 19 '' 20 20 substituteInPlace Makefile \ 21 21 --replace -fpredictive-commoning ""
+1 -1
pkgs/games/adom/default.nix
··· 5 5 6 6 inherit (xorg) libXext libX11; 7 7 8 - lpath = "${stdenv.cc.cc.lib}/lib64:" + stdenv.lib.makeLibraryPath [ 8 + lpath = "${stdenv.cc.cc.lib}/lib64:" + lib.makeLibraryPath [ 9 9 zlib libmad libpng12 libcaca libXext libX11 libGLU libGL alsaLib libpulseaudio]; 10 10 11 11 in
+1 -1
pkgs/games/alephone/default.nix
··· 93 93 ''; 94 94 95 95 meta = alephone.meta // { 96 - license = stdenv.lib.licenses.free; 96 + license = lib.licenses.free; 97 97 hydraPlatforms = [ ]; 98 98 } // meta; 99 99 });
+3 -3
pkgs/games/andyetitmoves/default.nix
··· 1 - { stdenv, fetchurl, libvorbis, libogg, libtheora, SDL, libXft, SDL_image, zlib, libX11, libpng, openal, runtimeShell, requireFile, commercialVersion ? false }: 1 + { lib, stdenv, fetchurl, libvorbis, libogg, libtheora, SDL, libXft, SDL_image, zlib, libX11, libpng, openal, runtimeShell, requireFile, commercialVersion ? false }: 2 2 3 3 let plainName = "andyetitmoves"; 4 4 version = "1.2.2"; ··· 68 68 69 69 homepage = "http://www.andyetitmoves.net/"; 70 70 71 - license = stdenv.lib.licenses.unfree; 71 + license = lib.licenses.unfree; 72 72 73 - maintainers = with stdenv.lib.maintainers; [bluescreen303]; 73 + maintainers = with lib.maintainers; [bluescreen303]; 74 74 }; 75 75 }
+4 -4
pkgs/games/arena/default.nix
··· 1 - { stdenv, fetchurl, gtk2-x11, glib, pango, cairo, atk, gdk-pixbuf, libX11 }: 1 + { lib, stdenv, fetchurl, gtk2-x11, glib, pango, cairo, atk, gdk-pixbuf, libX11 }: 2 2 3 3 # Arena is free software in the sense of "free beer" but not as in "free 4 4 # speech". We can install it as we please, but we cannot re-distribute it in ··· 7 7 8 8 let 9 9 10 - inherit (stdenv.lib) makeLibraryPath; 10 + inherit (lib) makeLibraryPath; 11 11 libDir = "lib64"; 12 12 13 13 in ··· 66 66 UCI protocol I, II. Furthermore, compatible to Chess960, DGT electronic 67 67 chess board & DGT clocks and much more. 68 68 ''; 69 - license = stdenv.lib.licenses.unfree; 69 + license = lib.licenses.unfree; 70 70 platforms = ["x86_64-linux"]; 71 - hydraPlatforms = stdenv.lib.platforms.none; 71 + hydraPlatforms = lib.platforms.none; 72 72 }; 73 73 74 74 }
+2 -2
pkgs/games/arx-libertatis/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, zlib, boost 1 + { lib, stdenv, fetchFromGitHub, cmake, zlib, boost 2 2 , openal, glm, freetype, libGLU, SDL2, epoxy 3 3 , dejavu_fonts, inkscape, optipng, imagemagick 4 4 , withCrashReporter ? !stdenv.isDarwin ··· 8 8 , gdb ? null 9 9 }: 10 10 11 - with stdenv.lib; 11 + with lib; 12 12 13 13 stdenv.mkDerivation { 14 14 pname = "arx-libertatis";
+3 -3
pkgs/games/assaultcube/default.nix
··· 1 - { fetchFromGitHub, stdenv, makeDesktopItem, openal, pkgconfig, libogg, 1 + { fetchFromGitHub, lib, stdenv, makeDesktopItem, openal, pkgconfig, libogg, 2 2 libvorbis, SDL, SDL_image, makeWrapper, zlib, file, 3 3 client ? true, server ? true }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 8 ··· 67 67 homepage = "https://assault.cubers.net"; 68 68 maintainers = [ ]; 69 69 platforms = platforms.linux; # should work on darwin with a little effort. 70 - license = stdenv.lib.licenses.zlib; 70 + license = lib.licenses.zlib; 71 71 }; 72 72 }
+3 -3
pkgs/games/astromenace/default.nix
··· 1 - { fetchurl, stdenv, cmake, xlibsWrapper, libGLU, libGL, SDL, openal, freealut, libogg, libvorbis, runtimeShell }: 1 + { fetchurl, lib, stdenv, cmake, xlibsWrapper, libGLU, libGL, SDL, openal, freealut, libogg, libvorbis, runtimeShell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.3.2"; ··· 31 31 meta = { 32 32 description = "Hardcore 3D space shooter with spaceship upgrade possibilities"; 33 33 homepage = "https://www.viewizard.com/"; 34 - license = stdenv.lib.licenses.gpl3; 35 - platforms = stdenv.lib.platforms.linux; 34 + license = lib.licenses.gpl3; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+4 -4
pkgs/games/azimuth/default.nix
··· 1 - { stdenv, fetchFromGitHub, SDL, which, installTool ? false }: 1 + { lib, stdenv, fetchFromGitHub, SDL, which, installTool ? false }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "azimuth"; ··· 41 41 bosses to tangle with. 42 42 ''; 43 43 44 - license = stdenv.lib.licenses.gpl3Plus; 44 + license = lib.licenses.gpl3Plus; 45 45 homepage = "https://mdsteele.games/azimuth/index.html"; 46 - maintainers = with stdenv.lib.maintainers; [ marius851000 ]; 47 - platforms = stdenv.lib.platforms.linux; 46 + maintainers = with lib.maintainers; [ marius851000 ]; 47 + platforms = lib.platforms.linux; 48 48 }; 49 49 50 50 }
+4 -4
pkgs/games/ball-and-paddle/default.nix
··· 1 - { fetchurl, stdenv, SDL, SDL_image, SDL_mixer, SDL_ttf, guile, gettext }: 1 + { fetchurl, lib, stdenv, SDL, SDL_image, SDL_mixer, SDL_ttf, guile, gettext }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ballandpaddle-0.8.1"; ··· 31 31 with Guile. Follow the example level sets and the documentation. 32 32 ''; 33 33 34 - license = stdenv.lib.licenses.gpl3Plus; 34 + license = lib.licenses.gpl3Plus; 35 35 36 36 homepage = "https://www.gnu.org/software/ballandpaddle/"; 37 37 38 38 maintainers = [ ]; 39 39 40 - platforms = stdenv.lib.platforms.unix; 40 + platforms = lib.platforms.unix; 41 41 42 - hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin 42 + hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin 43 43 }; 44 44 }
+2 -2
pkgs/games/beret/default.nix
··· 6 6 buildInputs = [ SDL SDL_image SDL_ttf SDL_mixer ]; 7 7 8 8 NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL"; 9 - NIX_CFLAGS_LINK = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; 10 - NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin 9 + NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; 10 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin 11 11 "-framework CoreFoundation -framework OpenGL -framework Cocoa"; 12 12 13 13 patches = [ ./use-home-dir.patch ];
+3 -3
pkgs/games/bitsnbots/default.nix
··· 1 - { stdenv, fetchurl, SDL, lua, libGLU, libGL }: 1 + { lib, stdenv, fetchurl, SDL, lua, libGLU, libGL }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "bitsnbots-20111230"; ··· 30 30 meta = { 31 31 description = "Simple puzzle game with moving robots"; 32 32 homepage = "http://moikmellah.org/blog/?page_id=19"; 33 - license = stdenv.lib.licenses.gpl3Plus; 34 - platforms = with stdenv.lib.platforms; linux; 33 + license = lib.licenses.gpl3Plus; 34 + platforms = with lib.platforms; linux; 35 35 }; 36 36 }
+4 -4
pkgs/games/blackshades/default.nix
··· 1 - {stdenv, fetchsvn, SDL, libGLU, libGL, openal, libvorbis, freealut, SDL_image}: 1 + {lib, stdenv, fetchsvn, SDL, libGLU, libGL, openal, libvorbis, freealut, SDL_image}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "blackshades-svn-110"; ··· 27 27 meta = { 28 28 homepage = "http://icculus.org/blackshades/"; 29 29 description = "Protect the VIP"; 30 - license = stdenv.lib.licenses.free; 31 - maintainers = with stdenv.lib.maintainers; [viric]; 32 - platforms = with stdenv.lib.platforms; linux; 30 + license = lib.licenses.free; 31 + maintainers = with lib.maintainers; [viric]; 32 + platforms = with lib.platforms; linux; 33 33 }; 34 34 }
+2 -2
pkgs/games/blobby/default.nix
··· 1 - { stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }: 1 + { lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "blobby-volley"; ··· 23 23 chmod a+x "$out/bin/blobby" 24 24 ''; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = ''A blobby volleyball game''; 28 28 license = licenses.bsd3; 29 29 platforms = platforms.linux;
+4 -4
pkgs/games/bsdgames/default.nix
··· 1 - { stdenv, fetchurl, ncurses, openssl, flex, bison, less, miscfiles }: 1 + { lib, stdenv, fetchurl, ncurses, openssl, flex, bison, less, miscfiles }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "bsd-games-2.17"; ··· 60 60 meta = { 61 61 homepage = "http://www.t2-project.org/packages/bsd-games.html"; 62 62 description = "Ports of all the games from NetBSD-current that are free"; 63 - license = stdenv.lib.licenses.free; 64 - maintainers = with stdenv.lib.maintainers; [viric]; 65 - platforms = with stdenv.lib.platforms; linux; 63 + license = lib.licenses.free; 64 + maintainers = with lib.maintainers; [viric]; 65 + platforms = with lib.platforms; linux; 66 66 }; 67 67 }
+1 -1
pkgs/games/cataclysm-dda/common.nix
··· 5 5 }: 6 6 7 7 let 8 - inherit (stdenv.lib) optionals optionalString; 8 + inherit (lib) optionals optionalString; 9 9 10 10 cursesDeps = [ gettext ncurses ] 11 11 ++ optionals stdenv.isDarwin [ CoreFoundation ];
+3 -3
pkgs/games/chessdb/default.nix
··· 1 - { stdenv, fetchurl, tcl, tk, libX11, makeWrapper }: 1 + { lib, stdenv, fetchurl, tcl, tk, libX11, makeWrapper }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "chessdb-3.6.19-beta-1"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = "mirror://sourceforge/chessdb/ChessDB-3.6.19-beta-1.tar.gz"; 8 8 sha256 = "0brc3wln3bxp979iqj2w1zxpfd0pch8zzazhdmwf7acww4hrsz62"; ··· 25 25 meta = { 26 26 homepage = "http://chessdb.sourceforge.net/"; 27 27 description = "A free chess database"; 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+2 -2
pkgs/games/chiaki/default.nix
··· 43 43 qtsvg 44 44 protobuf 45 45 SDL2 46 - ] ++ stdenv.lib.optionals stdenv.isLinux [ 46 + ] ++ lib.optionals stdenv.isLinux [ 47 47 libevdev 48 48 udev 49 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 49 + ] ++ lib.optionals stdenv.isDarwin [ 50 50 qtmacextras 51 51 ]; 52 52
+5 -5
pkgs/games/chocolate-doom/default.nix
··· 1 - { stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub }: 1 + { lib, stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "chocolate-doom"; ··· 22 22 meta = { 23 23 homepage = "http://chocolate-doom.org/"; 24 24 description = "A Doom source port that accurately reproduces the experience of Doom as it was played in the 1990s"; 25 - license = stdenv.lib.licenses.gpl2Plus; 26 - platforms = stdenv.lib.platforms.unix; 27 - hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out 28 - maintainers = with stdenv.lib.maintainers; [ MP2E ]; 25 + license = lib.licenses.gpl2Plus; 26 + platforms = lib.platforms.unix; 27 + hydraPlatforms = lib.platforms.linux; # darwin times out 28 + maintainers = with lib.maintainers; [ MP2E ]; 29 29 }; 30 30 }
+1 -1
pkgs/games/ckan/default.nix
··· 13 13 14 14 buildInputs = [ makeWrapper mono ]; 15 15 16 - libraries = stdenv.lib.makeLibraryPath [ gtk2 curl ]; 16 + libraries = lib.makeLibraryPath [ gtk2 curl ]; 17 17 18 18 buildPhase = "true"; 19 19
+4 -4
pkgs/games/cockatrice/default.nix
··· 1 - { stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf 1 + { lib, stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf 2 2 , qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook 3 3 }: 4 4 ··· 22 22 meta = { 23 23 homepage = "https://github.com/Cockatrice/Cockatrice"; 24 24 description = "A cross-platform virtual tabletop for multiplayer card games"; 25 - license = stdenv.lib.licenses.gpl2; 26 - maintainers = with stdenv.lib.maintainers; [ evanjs ]; 27 - platforms = with stdenv.lib.platforms; linux; 25 + license = lib.licenses.gpl2; 26 + maintainers = with lib.maintainers; [ evanjs ]; 27 + platforms = with lib.platforms; linux; 28 28 }; 29 29 }
+5 -5
pkgs/games/construo/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , libX11 4 4 , zlib ··· 18 18 }; 19 19 20 20 buildInputs = [ libX11 zlib xorgproto ] 21 - ++ stdenv.lib.optional (libGL != null) libGL 22 - ++ stdenv.lib.optional (libGLU != null) libGLU 23 - ++ stdenv.lib.optional (freeglut != null) freeglut; 21 + ++ lib.optional (libGL != null) libGL 22 + ++ lib.optional (libGLU != null) libGLU 23 + ++ lib.optional (freeglut != null) freeglut; 24 24 25 25 preConfigure = '' 26 26 substituteInPlace src/Makefile.in \ ··· 30 30 meta = { 31 31 description = "Masses and springs simulation game"; 32 32 homepage = "http://fs.fsf.org/construo/"; 33 - license = stdenv.lib.licenses.gpl3; 33 + license = lib.licenses.gpl3; 34 34 }; 35 35 }
+4 -4
pkgs/games/crack-attack/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk2, freeglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }: 1 + { lib, stdenv, fetchurl, pkgconfig, gtk2, freeglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "crack-attack-1.1.14"; ··· 28 28 meta = { 29 29 description = "A fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!"; 30 30 homepage = "https://www.nongnu.org/crack-attack/"; 31 - license = stdenv.lib.licenses.gpl2; 32 - platforms = stdenv.lib.platforms.linux; 33 - maintainers = [ stdenv.lib.maintainers.piotr ]; 31 + license = lib.licenses.gpl2; 32 + platforms = lib.platforms.linux; 33 + maintainers = [ lib.maintainers.piotr ]; 34 34 }; 35 35 }
+4 -4
pkgs/games/crafty/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "crafty"; ··· 66 66 meta = { 67 67 homepage = "http://www.craftychess.com/"; 68 68 description = "Chess program developed by Dr. Robert M. Hyatt"; 69 - license = stdenv.lib.licenses.unfree; 70 - platforms = stdenv.lib.platforms.unix; 71 - maintainers = [ stdenv.lib.maintainers.jwiegley ]; 69 + license = lib.licenses.unfree; 70 + platforms = lib.platforms.unix; 71 + maintainers = [ lib.maintainers.jwiegley ]; 72 72 }; 73 73 }
+4 -4
pkgs/games/crispy-doom/default.nix
··· 1 - { stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, python }: 1 + { lib, stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "crispy-doom"; ··· 27 27 Crispy Doom is a limit-removing enhanced-resolution Doom source port based on Chocolate Doom. 28 28 Its name means that 640x400 looks \"crisp\" and is also a slight reference to its origin. 29 29 ''; 30 - license = stdenv.lib.licenses.gpl2Plus; 31 - platforms = stdenv.lib.platforms.unix; 32 - maintainers = with stdenv.lib.maintainers; [ neonfuz ]; 30 + license = lib.licenses.gpl2Plus; 31 + platforms = lib.platforms.unix; 32 + maintainers = with lib.maintainers; [ neonfuz ]; 33 33 }; 34 34 }
+3 -3
pkgs/games/crrcsim/default.nix
··· 1 - { stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }: 1 + { lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }: 2 2 let 3 3 version = "0.9.13"; 4 4 in ··· 21 21 22 22 meta = { 23 23 description = "A model-airplane flight simulator"; 24 - maintainers = with stdenv.lib.maintainers; [ raskin ]; 24 + maintainers = with lib.maintainers; [ raskin ]; 25 25 platforms = [ "i686-linux" "x86_64-linux" ]; 26 - license = stdenv.lib.licenses.gpl2; 26 + license = lib.licenses.gpl2; 27 27 }; 28 28 }
+1 -1
pkgs/games/cutemaze/default.nix
··· 13 13 14 14 buildInputs = [ qtsvg ]; 15 15 16 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 16 + postInstall = lib.optionalString stdenv.isDarwin '' 17 17 mkdir -p $out/Applications 18 18 mv CuteMaze.app $out/Applications 19 19 '';
+6 -6
pkgs/games/cuyo/default.nix
··· 1 - { stdenv, fetchurl, SDL, SDL_mixer, zlib }: 1 + { lib, stdenv, fetchurl, SDL, SDL_mixer, zlib }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "cuyo"; 5 5 version = "2.1.0"; 6 - 6 + 7 7 src = fetchurl { 8 8 url = "https://download.savannah.gnu.org/releases/cuyo/cuyo-2.1.0.tar.gz"; 9 9 sha256 = "17yqv924x7yvwix7yz9jdhgyar8lzdhqvmpvv0any8rdkajhj23c"; 10 10 }; 11 11 12 12 buildInputs = [ SDL SDL_mixer zlib ]; 13 - 13 + 14 14 meta = { 15 15 homepage = "http://karimmi.de/cuyo"; 16 16 description = "Stacking blocks game, with different rules for each level"; 17 - license = stdenv.lib.licenses.gpl2Plus; 18 - platforms = stdenv.lib.platforms.linux; 17 + license = lib.licenses.gpl2Plus; 18 + platforms = lib.platforms.linux; 19 19 }; 20 - 20 + 21 21 }
+1 -1
pkgs/games/dhewm3/default.nix
··· 29 29 meta = with lib; { 30 30 homepage = "https://github.com/dhewm/dhewm3"; 31 31 description = "Doom 3 port to SDL"; 32 - license = stdenv.lib.licenses.gpl3; 32 + license = lib.licenses.gpl3; 33 33 maintainers = with maintainers; [ MP2E ]; 34 34 platforms = with platforms; linux; 35 35 };
+2 -2
pkgs/games/domination/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchsvn 3 3 # jdk8 is needed for building, but the game runs on newer jres as well 4 4 , jdk8 ··· 76 76 install -Dm644 build/game/resources/icon.png $out/share/pixmaps/domination.png 77 77 ''; 78 78 79 - meta = with stdenv.lib; { 79 + meta = with lib; { 80 80 homepage = "http://domination.sourceforge.net/"; 81 81 downloadPage = "http://domination.sourceforge.net/download.shtml"; 82 82 description = "A game that is a bit like the board game Risk or RisiKo";
+2 -2
pkgs/games/eboard/default.nix
··· 1 - { stdenv, fetchurl, perl, pkgconfig, gtk2 }: 1 + { lib, stdenv, fetchurl, perl, pkgconfig, gtk2 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "eboard-1.1.1"; ··· 25 25 meta = { 26 26 homepage = "http://www.bergo.eng.br/eboard/"; 27 27 description = "Chess interface for Unix-like systems"; 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+1 -1
pkgs/games/eduke32/default.nix
··· 30 30 buildInputs = [ alsaLib flac gtk2 libvorbis libvpx libGL libGLU SDL2 SDL2_mixer ]; 31 31 32 32 nativeBuildInputs = [ makeWrapper pkgconfig ] 33 - ++ stdenv.lib.optional (stdenv.hostPlatform.system == "i686-linux") nasm; 33 + ++ lib.optional (stdenv.hostPlatform.system == "i686-linux") nasm; 34 34 35 35 postPatch = '' 36 36 substituteInPlace source/build/src/glbuild.cpp \
+4 -4
pkgs/games/egoboo/default.nix
··· 1 - { stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, SDL_image, SDL_ttf }: 1 + { lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, SDL_image, SDL_ttf }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 # pf5234 (a developer?) at freenode #egoboo told me that I better use 2.7.3 until ··· 50 50 description = "3D dungeon crawling adventure"; 51 51 52 52 homepage = "http://www.freedink.org/"; 53 - license = stdenv.lib.licenses.gpl2Plus; 53 + license = lib.licenses.gpl2Plus; 54 54 55 55 # I take it out of hydra as it does not work as well as I'd like 56 - # maintainers = [ stdenv.lib.maintainers.bjg ]; 57 - # platforms = stdenv.lib.platforms.all; 56 + # maintainers = [ lib.maintainers.bjg ]; 57 + # platforms = lib.platforms.all; 58 58 }; 59 59 }
+5 -5
pkgs/games/endgame-singularity/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , fetchFromGitHub 4 4 , unzip ··· 17 17 rev = "v${version}"; 18 18 sha256 = "0ndrnxwii8lag6vrjpwpf5n36hhv223bb46d431l9gsigbizv0hl"; 19 19 }) 20 - ] ++ stdenv.lib.optional enableDefaultMusicPack ( 20 + ] ++ lib.optional enableDefaultMusicPack ( 21 21 fetchurl { 22 22 url = "http://www.emhsoft.com/singularity/endgame-singularity-music-007.zip"; 23 23 sha256 = "0vf2qaf66jh56728pq1zbnw50yckjz6pf6c6qw6dl7vk60kkqnpb"; ··· 29 29 propagatedBuildInputs = with python3.pkgs; [ pygame numpy polib ]; 30 30 31 31 # Add the music 32 - postInstall = stdenv.lib.optionalString enableDefaultMusicPack '' 32 + postInstall = lib.optionalString enableDefaultMusicPack '' 33 33 cp -R "../endgame-singularity-music-007" \ 34 34 "$(echo $out/lib/python*/site-packages/singularity)/music" 35 35 # ↑ we cannot glob on [...]/music, it doesn't exist yet ··· 42 42 A simulation of a true AI. Go from computer to computer, pursued by the 43 43 entire world. Keep hidden, and you might have a chance 44 44 ''; 45 - license = stdenv.lib.licenses.gpl2; 46 - maintainers = with stdenv.lib.maintainers; [ fgaz ]; 45 + license = lib.licenses.gpl2; 46 + maintainers = with lib.maintainers; [ fgaz ]; 47 47 }; 48 48 }
+4 -4
pkgs/games/enyo-doom/default.nix
··· 1 - { mkDerivation, stdenv, fetchFromGitLab, cmake, qtbase }: 1 + { mkDerivation, lib, stdenv, fetchFromGitLab, cmake, qtbase }: 2 2 3 3 mkDerivation rec { 4 4 pname = "enyo-doom"; ··· 18 18 meta = { 19 19 homepage = "https://gitlab.com/sdcofer70/enyo-doom"; 20 20 description = "Frontend for Doom engines"; 21 - license = stdenv.lib.licenses.gpl3Plus; 22 - platforms = stdenv.lib.platforms.unix; 23 - maintainers = [ stdenv.lib.maintainers.tadfisher ]; 21 + license = lib.licenses.gpl3Plus; 22 + platforms = lib.platforms.unix; 23 + maintainers = [ lib.maintainers.tadfisher ]; 24 24 }; 25 25 }
+4 -4
pkgs/games/eternity-engine/default.nix
··· 1 - { stdenv, cmake, libGL, SDL, SDL_mixer, SDL_net, fetchFromGitHub, makeWrapper }: 1 + { lib, stdenv, cmake, libGL, SDL, SDL_mixer, SDL_net, fetchFromGitHub, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "eternity-engine"; ··· 23 23 meta = { 24 24 homepage = "http://doomworld.com/eternity"; 25 25 description = "New school Doom port by James Haley"; 26 - license = stdenv.lib.licenses.gpl3; 27 - platforms = stdenv.lib.platforms.linux; 28 - maintainers = with stdenv.lib.maintainers; [ MP2E ]; 26 + license = lib.licenses.gpl3; 27 + platforms = lib.platforms.linux; 28 + maintainers = with lib.maintainers; [ MP2E ]; 29 29 }; 30 30 }
+4 -4
pkgs/games/extremetuxracer/default.nix
··· 1 - { stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, freeglut, freetype 1 + { lib, stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, freeglut, freetype 2 2 , sfml, libXi 3 3 , libXmu, libXext, libXt, libSM, libICE 4 4 , libpng, pkgconfig, gettext, intltool ··· 31 31 longDescription = '' 32 32 ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes. 33 33 ''; 34 - license = stdenv.lib.licenses.gpl2Plus; 34 + license = lib.licenses.gpl2Plus; 35 35 homepage = "https://sourceforge.net/projects/extremetuxracer/"; 36 - maintainers = with stdenv.lib.maintainers; [ ]; 37 - platforms = with stdenv.lib.platforms; linux; 36 + maintainers = with lib.maintainers; [ ]; 37 + platforms = with lib.platforms; linux; 38 38 }; 39 39 }
+5 -5
pkgs/games/exult/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, SDL2, libogg, libvorbis, zlib, unzip }: 1 + { lib, stdenv, fetchurl, pkgconfig, SDL2, libogg, libvorbis, zlib, unzip }: 2 2 3 3 let 4 4 ··· 38 38 meta = { 39 39 homepage = "http://exult.sourceforge.net/"; 40 40 description = "A reimplementation of the Ultima VII game engine"; 41 - maintainers = [ stdenv.lib.maintainers.eelco ]; 42 - platforms = stdenv.lib.platforms.unix; 43 - hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out 44 - license = stdenv.lib.licenses.gpl2Plus; 41 + maintainers = [ lib.maintainers.eelco ]; 42 + platforms = lib.platforms.unix; 43 + hydraPlatforms = lib.platforms.linux; # darwin times out 44 + license = lib.licenses.gpl2Plus; 45 45 }; 46 46 }
+1 -1
pkgs/games/ezquake/default.nix
··· 18 18 expat curl jansson libpng libjpeg libGLU libGL libXxf86vm pcre SDL2 vim speex 19 19 ]; 20 20 21 - installPhase = with stdenv.lib; let 21 + installPhase = with lib; let 22 22 sys = last (splitString "-" stdenv.hostPlatform.system); 23 23 arch = head (splitString "-" stdenv.hostPlatform.system); 24 24 in ''
+6 -6
pkgs/games/factorio/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, makeDesktopItem 1 + { lib, stdenv, fetchurl, makeWrapper, makeDesktopItem 2 2 , alsaLib, libpulseaudio, libX11, libXcursor, libXinerama, libXrandr, libXi, libGL 3 3 , libSM, libICE, libXext, factorio-utils 4 4 , releaseType ··· 13 13 14 14 let 15 15 16 - inherit (stdenv.lib) importJSON; 16 + inherit (lib) importJSON; 17 17 18 18 helpMsg = '' 19 19 ··· 83 83 if !needsAuth then 84 84 fetchurl { inherit name url sha256; } 85 85 else 86 - (stdenv.lib.overrideDerivation 86 + (lib.overrideDerivation 87 87 (fetchurl { 88 88 inherit name url sha256; 89 89 curlOpts = [ ··· 168 168 version 1.0 in mid 2020. 169 169 ''; 170 170 homepage = "https://www.factorio.com/"; 171 - license = stdenv.lib.licenses.unfree; 172 - maintainers = with stdenv.lib.maintainers; [ Baughn elitak erictapen priegger lukegb ]; 171 + license = lib.licenses.unfree; 172 + maintainers = with lib.maintainers; [ Baughn elitak erictapen priegger lukegb ]; 173 173 platforms = [ "x86_64-linux" ]; 174 174 }; 175 175 }; ··· 180 180 181 181 buildInputs = [ makeWrapper libpulseaudio ]; 182 182 183 - libPath = stdenv.lib.makeLibraryPath [ 183 + libPath = lib.makeLibraryPath [ 184 184 alsaLib 185 185 libpulseaudio 186 186 libX11
+2 -2
pkgs/games/factorio/mods.nix
··· 2 2 # mods. It will eventually be replaced by a nixos-channel that will provide 3 3 # derivations for most or all of the mods tracked through the official mod 4 4 # manager site. 5 - { stdenv, fetchurl 5 + { lib, stdenv, fetchurl 6 6 , factorio-utils 7 7 , allRecommendedMods ? true 8 8 , allOptionalMods ? false 9 9 }: 10 - with stdenv.lib; 10 + with lib; 11 11 let 12 12 modDrv = factorio-utils.modDrv { inherit allRecommendedMods allOptionalMods; }; 13 13 in
+2 -2
pkgs/games/factorio/utils.nix
··· 1 1 # This file provides a top-level function that will be used by both nixpkgs and nixos 2 2 # to generate mod directories for use at runtime by factorio. 3 - { stdenv }: 4 - with stdenv.lib; 3 + { lib, stdenv }: 4 + with lib; 5 5 { 6 6 mkModDirDrv = mods: # a list of mod derivations 7 7 let
+4 -4
pkgs/games/fairymax/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "fairymax"; 4 4 version = "4.8"; ··· 32 32 and board sizes up to 12x8. A Linux port exists in the 33 33 format of a debian package. 34 34 ''; 35 - license = stdenv.lib.licenses.free ; 36 - maintainers = [stdenv.lib.maintainers.raskin]; 37 - platforms = stdenv.lib.platforms.linux; 35 + license = lib.licenses.free ; 36 + maintainers = [lib.maintainers.raskin]; 37 + platforms = lib.platforms.linux; 38 38 homepage = "http://home.hccnet.nl/h.g.muller/dwnldpage.html"; 39 39 }; 40 40 }
+1 -1
pkgs/games/flare/engine.nix
··· 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ] 16 - ++ stdenv.lib.optional stdenv.isDarwin Cocoa; 16 + ++ lib.optional stdenv.isDarwin Cocoa; 17 17 18 18 meta = with lib; { 19 19 description = "Free/Libre Action Roleplaying Engine";
+2 -2
pkgs/games/freecell-solver/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, cmake 1 + { lib, stdenv, fetchurl, pkgconfig, cmake 2 2 , perl, gmp, libtap, gperf 3 3 , perlPackages, python3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 stdenv.mkDerivation rec { 7 7 8 8 pname = "freecell-solver";
+1 -1
pkgs/games/freeciv/default.nix
··· 8 8 }: 9 9 10 10 let 11 - inherit (stdenv.lib) optional optionals; 11 + inherit (lib) optional optionals; 12 12 13 13 in stdenv.mkDerivation rec { 14 14 pname = "freeciv";
+5 -5
pkgs/games/freedink/default.nix
··· 1 - { stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx 1 + { lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx 2 2 , pkgconfig, intltool, fontconfig, libzip, zip, zlib }: 3 3 4 4 let ··· 52 52 ''; 53 53 54 54 homepage = "http://www.freedink.org/"; 55 - license = stdenv.lib.licenses.gpl3Plus; 55 + license = lib.licenses.gpl3Plus; 56 56 57 - maintainers = [ stdenv.lib.maintainers.bjg ]; 58 - platforms = stdenv.lib.platforms.all; 59 - hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin 57 + maintainers = [ lib.maintainers.bjg ]; 58 + platforms = lib.platforms.all; 59 + hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin 60 60 }; 61 61 }
+2 -2
pkgs/games/freedroidrpg/default.nix
··· 7 7 inherit version; 8 8 9 9 src = fetchurl { 10 - url = "ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${stdenv.lib.versions.majorMinor version}/freedroidRPG-${version}.tar.gz"; 10 + url = "ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${lib.versions.majorMinor version}/freedroidRPG-${version}.tar.gz"; 11 11 sha256 = "0n4kn38ncmcy3lrxmq8fjry6c1z50z4q1zcqfig0j4jb0dsz2va2"; 12 12 }; 13 13 ··· 15 15 16 16 buildInputs = [ 17 17 SDL SDL_image SDL_gfx SDL_mixer libogg libvorbis lua5_3 libjpeg libpng zlib 18 - ] ++ stdenv.lib.optional stdenv.isDarwin libiconv; 18 + ] ++ lib.optional stdenv.isDarwin libiconv; 19 19 20 20 meta = with lib; { 21 21 description = "Isometric 3D RPG similar to game Diablo";
+3 -3
pkgs/games/frozen-bubble/default.nix
··· 1 - { stdenv, fetchurl, perlPackages, pkgconfig, SDL, SDL_mixer, SDL_Pango, glib }: 1 + { lib, stdenv, fetchurl, perlPackages, pkgconfig, SDL, SDL_mixer, SDL_Pango, glib }: 2 2 3 3 perlPackages.buildPerlModule { 4 4 pname = "frozen-bubble"; ··· 19 19 20 20 meta = { 21 21 description = "Puzzle with Bubbles"; 22 - license = stdenv.lib.licenses.gpl2; 23 - maintainers = with stdenv.lib.maintainers; [ puckipedia ]; 22 + license = lib.licenses.gpl2; 23 + maintainers = with lib.maintainers; [ puckipedia ]; 24 24 }; 25 25 }
+3 -3
pkgs/games/fsg/default.nix
··· 1 - { stdenv, fetchurl, gtk2, glib, pkgconfig, libGLU, libGL, wxGTK, libX11, xorgproto 1 + { lib, stdenv, fetchurl, gtk2, glib, pkgconfig, libGLU, libGL, wxGTK, libX11, xorgproto 2 2 , runtimeShell }: 3 3 4 4 stdenv.mkDerivation { ··· 31 31 32 32 meta = { 33 33 description = "Cellular automata engine tuned towards the likes of Falling Sand"; 34 - maintainers = [stdenv.lib.maintainers.raskin]; 35 - platforms = stdenv.lib.platforms.linux; 34 + maintainers = [lib.maintainers.raskin]; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+2 -2
pkgs/games/galaxis/default.nix
··· 1 - { stdenv, fetchurl, ncurses, xmlto }: 1 + { lib, stdenv, fetchurl, ncurses, xmlto }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 6 6 pname = "galaxis";
+2 -2
pkgs/games/gargoyle/default.nix
··· 30 30 sha256 = "0w54avmbp4i4zps2rb4acmpa641s6wvwbrln4vbdhcz97fx48nzz"; 31 31 }; 32 32 33 - nativeBuildInputs = [ jam pkgconfig ] ++ stdenv.lib.optional stdenv.isDarwin cctools; 33 + nativeBuildInputs = [ jam pkgconfig ] ++ lib.optional stdenv.isDarwin cctools; 34 34 35 35 buildInputs = [ SDL SDL_mixer SDL_sound gtk2 ] 36 - ++ stdenv.lib.optionals stdenv.isDarwin [ smpeg libvorbis ]; 36 + ++ lib.optionals stdenv.isDarwin [ smpeg libvorbis ]; 37 37 38 38 buildPhase = jamenv + "jam -j$NIX_BUILD_CORES"; 39 39
+3 -3
pkgs/games/gav/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net} : 1 + {lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net} : 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gav-0.9.0"; ··· 20 20 meta = { 21 21 description = "Remake of AV Arcade Volleyball"; 22 22 homepage = "http://gav.sourceforge.net/"; 23 - license = stdenv.lib.licenses.gpl2Plus; 24 - platforms = stdenv.lib.platforms.linux; 23 + license = lib.licenses.gpl2Plus; 24 + platforms = lib.platforms.linux; 25 25 }; 26 26 }
+4 -4
pkgs/games/gltron/default.nix
··· 1 - {stdenv, fetchurl, SDL, libGLU, libGL, zlib, libpng, libvorbis, libmikmod, SDL_sound } : 1 + {lib, stdenv, fetchurl, SDL, libGLU, libGL, zlib, libpng, libvorbis, libmikmod, SDL_sound } : 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gltron-0.70"; ··· 22 22 meta = { 23 23 homepage = "http://www.gltron.org/"; 24 24 description = "Game based on the movie Tron"; 25 - license = stdenv.lib.licenses.gpl2Plus; 26 - maintainers = with stdenv.lib.maintainers; [viric]; 27 - platforms = with stdenv.lib.platforms; linux; 25 + license = lib.licenses.gpl2Plus; 26 + maintainers = with lib.maintainers; [viric]; 27 + platforms = with lib.platforms; linux; 28 28 }; 29 29 }
+4 -4
pkgs/games/gmad/default.nix
··· 1 - { stdenv, fetchFromGitHub, premake4, bootil }: 1 + { lib, stdenv, fetchFromGitHub, premake4, bootil }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gmad-unstable-2015-04-16"; ··· 6 6 meta = { 7 7 description = "Garry's Mod Addon Creator and Extractor"; 8 8 homepage = "https://github.com/garrynewman/gmad"; 9 - license = stdenv.lib.licenses.unfree; 10 - maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ]; 11 - platforms = stdenv.lib.platforms.all; 9 + license = lib.licenses.unfree; 10 + maintainers = [ lib.maintainers.abigailbuccaneer ]; 11 + platforms = lib.platforms.all; 12 12 }; 13 13 14 14 src = fetchFromGitHub {
+2 -2
pkgs/games/gnubg/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, glib, python, gtk2, readline }: 1 + { lib, stdenv, fetchurl, pkgconfig, glib, python, gtk2, readline }: 2 2 3 3 let version = "1.06.002"; in 4 4 stdenv.mkDerivation { ··· 14 14 15 15 configureFlags = [ "--with-gtk" "--with--board3d" ]; 16 16 17 - meta = with stdenv.lib; 17 + meta = with lib; 18 18 { description = "World class backgammon application"; 19 19 homepage = "http://www.gnubg.org/"; 20 20 license = licenses.gpl3;
+4 -4
pkgs/games/gnuchess/default.nix
··· 1 - {stdenv, fetchurl, flex, makeWrapper}: 1 + {lib, stdenv, fetchurl, flex, makeWrapper}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 28 28 meta = { 29 29 inherit (s) version; 30 30 description = "GNU Chess engine"; 31 - maintainers = [stdenv.lib.maintainers.raskin]; 32 - platforms = stdenv.lib.platforms.unix; 33 - license = stdenv.lib.licenses.gpl3Plus; 31 + maintainers = [lib.maintainers.raskin]; 32 + platforms = lib.platforms.unix; 33 + license = lib.licenses.gpl3Plus; 34 34 }; 35 35 }
+3 -3
pkgs/games/gnugo/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnugo"; ··· 14 14 meta = { 15 15 description = "GNU Go - A computer go player"; 16 16 homepage = "https://www.gnu.org/software/gnugo/"; 17 - license = stdenv.lib.licenses.gpl3; 18 - platforms = stdenv.lib.platforms.unix; 17 + license = lib.licenses.gpl3; 18 + platforms = lib.platforms.unix; 19 19 }; 20 20 }
+4 -4
pkgs/games/gogui/default.nix
··· 1 - { fetchurl, stdenv, openjdk, unzip, makeWrapper }: 1 + { fetchurl, lib, stdenv, openjdk, unzip, makeWrapper }: 2 2 3 3 let 4 4 version = "1.4.9"; ··· 20 20 done 21 21 ''; 22 22 meta = { 23 - maintainers = [ stdenv.lib.maintainers.cleverca22 ]; 23 + maintainers = [ lib.maintainers.cleverca22 ]; 24 24 description = "A graphical user interface to programs that play the board game Go and support the Go Text Protocol such as GNU Go"; 25 25 homepage = "http://gogui.sourceforge.net/"; 26 - platforms = stdenv.lib.platforms.unix; 27 - license = stdenv.lib.licenses.gpl3; 26 + platforms = lib.platforms.unix; 27 + license = lib.licenses.gpl3; 28 28 }; 29 29 }
+4 -4
pkgs/games/gtetrinet/default.nix
··· 1 - { fetchFromGitHub, stdenv, autoreconfHook, intltool, pkgconfig, libgnome, libgnomeui, GConf }: 1 + { fetchFromGitHub, lib, stdenv, autoreconfHook, intltool, pkgconfig, libgnome, libgnomeui, GConf }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gtetrinet-0.7.11"; ··· 37 37 that is played over the internet. 38 38 ''; 39 39 homepage = "http://gtetrinet.sourceforge.net/"; 40 - license = stdenv.lib.licenses.gpl2; 41 - platforms = stdenv.lib.platforms.unix; 42 - maintainers = [ stdenv.lib.maintainers.chris-martin ]; 40 + license = lib.licenses.gpl2; 41 + platforms = lib.platforms.unix; 42 + maintainers = [ lib.maintainers.chris-martin ]; 43 43 }; 44 44 }
+1 -1
pkgs/games/gtypist/default.nix
··· 10 10 }; 11 11 12 12 buildInputs = [ makeWrapper ncurses perl fortune ] 13 - ++ stdenv.lib.optional stdenv.isDarwin libiconv; 13 + ++ lib.optional stdenv.isDarwin libiconv; 14 14 15 15 preFixup = '' 16 16 wrapProgram "$out/bin/typefortune" \
+3 -3
pkgs/games/hawkthorne/default.nix
··· 1 - { fetchgit, stdenv, love, curl, zip }: 1 + { fetchgit, lib, stdenv, love, curl, zip }: 2 2 3 3 stdenv.mkDerivation { 4 4 version = "0.12.1"; ··· 32 32 Hawthorne's inheritance. 33 33 ''; 34 34 homepage = "https://www.reddit.com/r/hawkthorne"; 35 - license = stdenv.lib.licenses.mit; 36 - maintainers = with stdenv.lib.maintainers; [ campadrenalin ]; 35 + license = lib.licenses.mit; 36 + maintainers = with lib.maintainers; [ campadrenalin ]; 37 37 broken = true; 38 38 }; 39 39 }
+3 -3
pkgs/games/icbm3d/default.nix
··· 1 - {stdenv, fetchurl, libX11}: 1 + {lib, stdenv, fetchurl, libX11}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "icbm3d-0.4"; ··· 17 17 meta = { 18 18 homepage = "http://www.newbreedsoftware.com/icbm3d/"; 19 19 description = "3D vector-based clone of the atari game Missile Command"; 20 - license = stdenv.lib.licenses.gpl2Plus; 21 - platforms = stdenv.lib.platforms.linux; 20 + license = lib.licenses.gpl2Plus; 21 + platforms = lib.platforms.linux; 22 22 }; 23 23 }
+2 -2
pkgs/games/instead/default.nix
··· 65 65 meta = with lib; { 66 66 description = "Simple text adventure interpreter for Unix and Windows"; 67 67 homepage = "https://instead.syscall.ru/"; 68 - license = stdenv.lib.licenses.gpl2; 69 - platforms = with stdenv.lib.platforms; linux; 68 + license = lib.licenses.gpl2; 69 + platforms = with lib.platforms; linux; 70 70 maintainers = with maintainers; [ pSub ]; 71 71 }; 72 72 }
+2 -2
pkgs/games/jumpnbump/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitLab 3 3 , fetchzip 4 4 , SDL2, SDL2_mixer, SDL2_net ··· 45 45 wrapPythonPrograms 46 46 ''; 47 47 48 - meta = with stdenv.lib; { 48 + meta = with lib; { 49 49 description = "cute, true multiplayer platform game with bunnies"; 50 50 homepage = "https://libregames.gitlab.io/jumpnbump/"; 51 51 license = licenses.gpl2Plus;
+3 -3
pkgs/games/keeperrl/default.nix
··· 33 33 34 34 sourceRoot = "source"; 35 35 36 - srcs = [ free-src ] ++ stdenv.lib.optional unfree_assets assets; 36 + srcs = [ free-src ] ++ lib.optional unfree_assets assets; 37 37 38 - postUnpack = stdenv.lib.optionalString unfree_assets '' 38 + postUnpack = lib.optionalString unfree_assets '' 39 39 mv data $sourceRoot 40 40 ''; 41 41 ··· 61 61 62 62 cp -r data_free $out/share 63 63 cp -r data_contrib $out/share 64 - ${stdenv.lib.optionalString unfree_assets "cp -r data $out/share"} 64 + ${lib.optionalString unfree_assets "cp -r data $out/share"} 65 65 ''; 66 66 67 67 meta = with lib; {
+3 -3
pkgs/games/kobodeluxe/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_image, libGLU, libGL} : 1 + {lib, stdenv, fetchurl, SDL, SDL_image, libGLU, libGL} : 2 2 3 3 stdenv.mkDerivation { 4 4 name = "kobodeluxe-0.5.1"; ··· 18 18 meta = { 19 19 homepage = "http://olofson.net/kobodl/"; 20 20 description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11"; 21 - license = stdenv.lib.licenses.gpl2Plus; 22 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.gpl2Plus; 22 + platforms = lib.platforms.linux; 23 23 }; 24 24 }
+2 -2
pkgs/games/koboredux/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , fetchpatch 4 4 , requireFile ··· 10 10 , useProprietaryAssets ? true 11 11 }: 12 12 13 - with stdenv.lib; 13 + with lib; 14 14 stdenv.mkDerivation rec { 15 15 pname = "koboredux"; 16 16 version = "0.7.5.1";
+1 -1
pkgs/games/lbreakout2/default.nix
··· 16 16 license = licenses.gpl2; 17 17 maintainers = [ maintainers.ciil ]; 18 18 platforms = platforms.unix; 19 - hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin 19 + hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin 20 20 }; 21 21 }
+1 -1
pkgs/games/liquidwar/5.nix
··· 9 9 10 10 buildInputs = [ allegro ]; 11 11 12 - configureFlags = stdenv.lib.optional stdenv.isx86_64 "--disable-asm"; 12 + configureFlags = lib.optional stdenv.isx86_64 "--disable-asm"; 13 13 14 14 hardeningDisable = [ "format" ]; 15 15
+3 -3
pkgs/games/lugaru/default.nix
··· 1 - { stdenv, fetchFromGitLab, cmake, openal, pkgconfig, libogg, 1 + { lib, stdenv, fetchFromGitLab, cmake, openal, pkgconfig, libogg, 2 2 libvorbis, SDL2, makeWrapper, libpng, libjpeg_turbo, libGLU }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 stdenv.mkDerivation rec { 7 7 ··· 26 26 homepage = "https://osslugaru.gitlab.io"; 27 27 maintainers = [ ]; 28 28 platforms = platforms.linux; 29 - license = stdenv.lib.licenses.gpl2Plus; 29 + license = lib.licenses.gpl2Plus; 30 30 }; 31 31 }
+3 -3
pkgs/games/macopix/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk, openssl }: 1 + { lib, stdenv, fetchurl, pkgconfig, gtk, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "macopix-1.7.4"; ··· 23 23 meta = { 24 24 description = "Mascot Constructive Pilot for X"; 25 25 homepage = "http://rosegray.sakura.ne.jp/macopix/index-e.html"; 26 - license = stdenv.lib.licenses.gpl2Plus; 27 - platforms = stdenv.lib.platforms.linux; 26 + license = lib.licenses.gpl2Plus; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+2 -2
pkgs/games/megaglest/default.nix
··· 1 - { stdenv, cmake, pkg-config, git, curl, SDL2, xercesc, openal, lua, libvlc 1 + { lib, stdenv, cmake, pkg-config, git, curl, SDL2, xercesc, openal, lua, libvlc 2 2 , libjpeg, wxGTK, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng 3 3 , fontconfig, freetype, xorg, makeWrapper, bash, which, gnome3, libGLU, glib 4 4 , fetchFromGitHub ··· 48 48 done 49 49 ''; 50 50 51 - meta = with stdenv.lib; { 51 + meta = with lib; { 52 52 description = "An entertaining free (freeware and free software) and open source cross-platform 3D real-time strategy (RTS) game"; 53 53 license = licenses.gpl3; 54 54 homepage = "http://megaglest.org/";
+4 -4
pkgs/games/minecraft/default.nix
··· 41 41 categories = "Game;"; 42 42 }; 43 43 44 - envLibPath = stdenv.lib.makeLibraryPath [ 44 + envLibPath = lib.makeLibraryPath [ 45 45 curl 46 46 libpulseaudio 47 47 systemd ··· 50 50 libXxf86vm # needed only for versions <1.13 51 51 ]; 52 52 53 - libPath = stdenv.lib.makeLibraryPath ([ 53 + libPath = lib.makeLibraryPath ([ 54 54 alsaLib 55 55 atk 56 56 cairo ··· 137 137 # Do not create `GPUCache` in current directory 138 138 makeWrapper $out/opt/minecraft-launcher/minecraft-launcher $out/bin/minecraft-launcher \ 139 139 --prefix LD_LIBRARY_PATH : ${envLibPath} \ 140 - --prefix PATH : ${stdenv.lib.makeBinPath [ jre ]} \ 141 - --set JAVA_HOME ${stdenv.lib.getBin jre} \ 140 + --prefix PATH : ${lib.makeBinPath [ jre ]} \ 141 + --set JAVA_HOME ${lib.getBin jre} \ 142 142 --run "cd /tmp" \ 143 143 "''${gappsWrapperArgs[@]}" 144 144 '';
+1 -1
pkgs/games/minetest/default.nix
··· 4 4 , leveldb, postgresql, hiredis, libiconv, OpenGL, OpenAL ? openal, Carbon, Cocoa 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 let 10 10 boolToCMake = b: if b then "ON" else "OFF";
+4 -4
pkgs/games/moon-buggy/default.nix
··· 1 - {stdenv, fetchurl, ncurses}: 1 + {lib, stdenv, fetchurl, ncurses}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "moon-buggy"; ··· 16 16 17 17 meta = { 18 18 description = ''A simple character graphics game where you drive some kind of car across the moon's surface''; 19 - license = stdenv.lib.licenses.gpl2; 20 - maintainers = [stdenv.lib.maintainers.rybern]; 21 - platforms = stdenv.lib.platforms.linux; 19 + license = lib.licenses.gpl2; 20 + maintainers = [lib.maintainers.rybern]; 21 + platforms = lib.platforms.linux; 22 22 homepage = "https://www.seehuhn.de/pages/moon-buggy"; 23 23 }; 24 24 }
+1 -1
pkgs/games/multimc/default.nix
··· 2 2 3 3 let 4 4 jdk = jdk8; 5 - libpath = with xorg; stdenv.lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio ]; 5 + libpath = with xorg; lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio ]; 6 6 in mkDerivation rec { 7 7 pname = "multimc"; 8 8 version = "0.6.11";
+5 -5
pkgs/games/n2048/default.nix
··· 1 - {stdenv, fetchurl, ncurses}: 1 + {lib, stdenv, fetchurl, ncurses}: 2 2 let 3 - s = 3 + s = 4 4 rec { 5 5 baseName = "n2048"; 6 6 version = "0.1"; ··· 27 27 meta = { 28 28 inherit (s) version; 29 29 description = ''Console implementation of 2048 game''; 30 - license = stdenv.lib.licenses.bsd2; 31 - maintainers = [stdenv.lib.maintainers.raskin]; 32 - platforms = stdenv.lib.platforms.linux; 30 + license = lib.licenses.bsd2; 31 + maintainers = [lib.maintainers.raskin]; 32 + platforms = lib.platforms.linux; 33 33 homepage = "http://www.dettus.net/n2048/"; 34 34 }; 35 35 }
+4 -4
pkgs/games/naev/default.nix
··· 1 - { fetchurl, stdenv, SDL, openal, SDL_mixer, libxml2, pkgconfig, libvorbis 1 + { lib, fetchurl, stdenv, SDL, openal, SDL_mixer, libxml2, pkgconfig, libvorbis 2 2 , libpng, libGLU, libGL, makeWrapper, zlib, freetype }: 3 3 4 4 let ··· 34 34 meta = { 35 35 description = "2D action/rpg space game"; 36 36 homepage = "http://www.naev.org"; 37 - license = stdenv.lib.licenses.gpl3Plus; 38 - maintainers = with stdenv.lib.maintainers; [viric]; 39 - platforms = stdenv.lib.platforms.linux; 37 + license = lib.licenses.gpl3Plus; 38 + maintainers = with lib.maintainers; [viric]; 39 + platforms = lib.platforms.linux; 40 40 hydraPlatforms = []; 41 41 }; 42 42 }
+1 -1
pkgs/games/nethack/default.nix
··· 97 97 98 98 enableParallelBuilding = true; 99 99 100 - preFixup = stdenv.lib.optionalString qtMode '' 100 + preFixup = lib.optionalString qtMode '' 101 101 wrapQtApp "$out/games/nethack" 102 102 ''; 103 103
+3 -3
pkgs/games/neverball/default.nix
··· 1 - { stdenv, fetchurl, SDL2, libGL, libpng, libjpeg, SDL2_ttf, libvorbis, gettext 1 + { lib, stdenv, fetchurl, SDL2, libGL, libpng, libjpeg, SDL2_ttf, libvorbis, gettext 2 2 , physfs }: 3 3 4 4 stdenv.mkDerivation rec { ··· 35 35 homepage = "https://neverball.org/"; 36 36 description = "Tilt the floor to roll a ball"; 37 37 license = "GPL"; 38 - maintainers = with stdenv.lib.maintainers; [viric]; 39 - platforms = with stdenv.lib.platforms; linux; 38 + maintainers = with lib.maintainers; [viric]; 39 + platforms = with lib.platforms; linux; 40 40 }; 41 41 }
+4 -4
pkgs/games/nexuiz/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , # required for both 3 3 unzip, zlib, curl, libjpeg, libpng, libvorbis, libtheora 4 4 , libogg, libmodplug ··· 11 11 let 12 12 version = "2.5.2"; 13 13 14 - version_short = stdenv.lib.replaceChars [ "." ] [ "" ] version; 14 + version_short = lib.replaceChars [ "." ] [ "" ] version; 15 15 in stdenv.mkDerivation { 16 16 pname = "nexuiz"; 17 17 inherit version; ··· 71 71 meta = { 72 72 description = "A free fast-paced first-person shooter"; 73 73 homepage = "http://www.alientrap.org/games/nexuiz"; 74 - license = stdenv.lib.licenses.gpl2; 75 - platforms = stdenv.lib.platforms.linux; 74 + license = lib.licenses.gpl2; 75 + platforms = lib.platforms.linux; 76 76 }; 77 77 }
+3 -3
pkgs/games/njam/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net }: 1 + {lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "njam-1.25"; ··· 21 21 meta = { 22 22 homepage = "http://trackballs.sourceforge.net/"; 23 23 description = "Cross-platform pacman-like game"; 24 - license = stdenv.lib.licenses.gpl2Plus; 25 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.gpl2Plus; 25 + platforms = lib.platforms.linux; 26 26 }; 27 27 }
+1 -1
pkgs/games/nudoku/default.nix
··· 19 19 nativeBuildInputs = [ autoreconfHook pkgconfig gettext ]; 20 20 buildInputs = [ ncurses ]; 21 21 22 - configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-nls"; 22 + configureFlags = lib.optional stdenv.hostPlatform.isMusl "--disable-nls"; 23 23 24 24 meta = with lib; { 25 25 description = "An ncurses based sudoku game";
+4 -4
pkgs/games/nxengine-evo/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchpatch 3 3 , fetchurl 4 4 , cmake ··· 54 54 55 55 meta = { 56 56 description = "A complete open-source clone/rewrite of the masterpiece jump-and-run platformer Doukutsu Monogatari (also known as Cave Story)"; 57 - license = with stdenv.lib.licenses; [ 57 + license = with lib.licenses; [ 58 58 gpl3 # Game engine 59 59 unfreeRedistributable # Game assets, freeware 60 60 ]; 61 - maintainers = [ stdenv.lib.maintainers.scubed2 ]; 61 + maintainers = [ lib.maintainers.scubed2 ]; 62 62 homepage = "https://github.com/nxengine/nxengine-evo"; 63 - platforms = stdenv.lib.platforms.linux; 63 + platforms = lib.platforms.linux; 64 64 }; 65 65 }
+4 -4
pkgs/games/odamex/default.nix
··· 1 - { stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net, wxGTK30 }: 1 + { lib, stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net, wxGTK30 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "odamex"; ··· 15 15 meta = { 16 16 homepage = "http://odamex.net/"; 17 17 description = "A client/server port for playing old-school Doom online"; 18 - license = stdenv.lib.licenses.gpl2; 19 - platforms = stdenv.lib.platforms.linux; 20 - maintainers = with stdenv.lib.maintainers; [ MP2E ]; 18 + license = lib.licenses.gpl2; 19 + platforms = lib.platforms.linux; 20 + maintainers = with lib.maintainers; [ MP2E ]; 21 21 }; 22 22 }
+5 -5
pkgs/games/oilrush/default.nix
··· 1 - { stdenv, config, fetchurl, libX11, libXext, libXinerama, libXrandr 1 + { lib, stdenv, config, fetchurl, libX11, libXext, libXinerama, libXrandr 2 2 , libXrender, fontconfig, freetype, openal, runtimeShell }: 3 3 4 - let inherit (stdenv.lib) makeLibraryPath; in 4 + let inherit (lib) makeLibraryPath; in 5 5 6 6 stdenv.mkDerivation { 7 7 name = "oilrush"; ··· 69 69 of Tower Defense. 70 70 ''; 71 71 homepage = "http://oilrush-game.com/"; 72 - license = stdenv.lib.licenses.unfree; 73 - #maintainers = with stdenv.lib.maintainers; [ astsmtl ]; 74 - platforms = stdenv.lib.platforms.linux; 72 + license = lib.licenses.unfree; 73 + #maintainers = with lib.maintainers; [ astsmtl ]; 74 + platforms = lib.platforms.linux; 75 75 hydraPlatforms = []; 76 76 }; 77 77
+4 -4
pkgs/games/openarena/default.nix
··· 1 - { fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }: 1 + { lib, fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "openarena"; ··· 15 15 installPhase = let 16 16 gameDir = "$out/openarena-$version"; 17 17 interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")"; 18 - libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ]; 18 + libPath = lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ]; 19 19 arch = { 20 20 "x86_64-linux" = "x86_64"; 21 21 "i386-linux" = "i386"; ··· 36 36 meta = { 37 37 description = "Crossplatform openarena client"; 38 38 homepage = "http://openarena.ws/"; 39 - maintainers = [ stdenv.lib.maintainers.wyvie ]; 39 + maintainers = [ lib.maintainers.wyvie ]; 40 40 platforms = [ "i386-linux" "x86_64-linux" ]; 41 - license = stdenv.lib.licenses.gpl2; 41 + license = lib.licenses.gpl2; 42 42 }; 43 43 }
+1 -1
pkgs/games/openclonk/default.nix
··· 20 20 21 21 postInstall = '' 22 22 mv -v $out/games/openclonk $out/bin/ 23 - '' + stdenv.lib.optionalString enableSoundtrack '' 23 + '' + lib.optionalString enableSoundtrack '' 24 24 ln -sv ${soundtrack_src} $out/share/games/openclonk/Music.ocg 25 25 ''; 26 26
+3 -3
pkgs/games/openlierox/default.nix
··· 1 - { stdenv, fetchurl, libX11, xorgproto, gd, SDL, SDL_image, SDL_mixer, zlib 1 + { lib, stdenv, fetchurl, libX11, xorgproto, gd, SDL, SDL_image, SDL_mixer, zlib 2 2 , libxml2, pkg-config, curl, cmake, libzip }: 3 3 4 4 stdenv.mkDerivation { ··· 35 35 meta = { 36 36 homepage = "http://openlierox.net"; 37 37 description = "Real-time game with Worms-like shooting"; 38 - license = stdenv.lib.licenses.lgpl2Plus; 39 - platforms = stdenv.lib.platforms.linux; 38 + license = lib.licenses.lgpl2Plus; 39 + platforms = lib.platforms.linux; 40 40 }; 41 41 }
+2 -2
pkgs/games/openra/common.nix
··· 1 1 /* The reusable code, and package attributes, between OpenRA engine packages (engine.nix) 2 2 and out-of-tree mod packages (mod.nix). 3 3 */ 4 - { stdenv, makeSetupHook, curl, unzip, dos2unix, pkgconfig, makeWrapper 4 + { lib, stdenv, makeSetupHook, curl, unzip, dos2unix, pkgconfig, makeWrapper 5 5 , lua, mono, dotnetPackages, python 6 6 , libGL, freetype, openal, SDL2 7 7 , zenity 8 8 }: 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 let 13 13 path = makeBinPath ([ mono python ] ++ optional (zenity != null) zenity);
+2 -2
pkgs/games/openra/engine.nix
··· 7 7 This package could be seen as providing a set of in-tree mods, 8 8 while the `mod.nix` pacakges provide a single out-of-tree mod. 9 9 */ 10 - { stdenv 10 + { lib, stdenv 11 11 , packageAttrs 12 12 , patchEngine 13 13 , wrapLaunchGame 14 14 , engine 15 15 }: 16 16 17 - with stdenv.lib; 17 + with lib; 18 18 19 19 stdenv.mkDerivation (recursiveUpdate packageAttrs rec { 20 20 name = "${pname}-${version}";
+2 -2
pkgs/games/openra/mod.nix
··· 6 6 The engine is relatively small and quick to build, so this is not much of a problem. 7 7 Building a mod will result in a wrapper script that starts the mod inside the specified engine. 8 8 */ 9 - { stdenv 9 + { lib, stdenv 10 10 , packageAttrs 11 11 , patchEngine 12 12 , wrapLaunchGame ··· 14 14 , engine 15 15 }: 16 16 17 - with stdenv.lib; 17 + with lib; 18 18 19 19 let 20 20 engineSourceName = engine.src.name or "engine";
+1 -1
pkgs/games/openrw/default.nix
··· 16 16 17 17 buildInputs = [ 18 18 sfml libGLU libGL bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg_3 19 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ OpenAL Cocoa ]; 19 + ] ++ lib.optionals stdenv.isDarwin [ OpenAL Cocoa ]; 20 20 21 21 meta = with lib; { 22 22 description = "Unofficial open source recreation of the classic Grand Theft Auto III game executable";
+1 -1
pkgs/games/openspades/default.nix
··· 20 20 21 21 buildInputs = [ 22 22 freetype SDL2 SDL2_image libGL zlib curl glew opusfile openal libogg 23 - ] ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ 23 + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 24 24 Cocoa 25 25 ]; 26 26
+5 -5
pkgs/games/openttd/default.nix
··· 38 38 39 39 nativeBuildInputs = [ pkgconfig which makeWrapper ]; 40 40 buildInputs = [ SDL2 libpng xz zlib freetype fontconfig libxdg_basedir ] 41 - ++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ]; 41 + ++ lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ]; 42 42 43 43 prefixKey = "--prefix-dir="; 44 44 ··· 51 51 postInstall = '' 52 52 mv $out/games/ $out/bin 53 53 54 - ${stdenv.lib.optionalString withOpenGFX '' 54 + ${lib.optionalString withOpenGFX '' 55 55 cp ${opengfx}/* $out/share/games/openttd/baseset 56 56 ''} 57 57 58 58 mkdir -p $out/share/games/openttd/data 59 59 60 - ${stdenv.lib.optionalString withOpenSFX '' 60 + ${lib.optionalString withOpenSFX '' 61 61 cp ${opensfx}/*.{obs,cat} $out/share/games/openttd/data 62 62 ''} 63 63 64 64 mkdir $out/share/games/openttd/baseset/openmsx 65 65 66 - ${stdenv.lib.optionalString withOpenMSX '' 66 + ${lib.optionalString withOpenMSX '' 67 67 cp ${openmsx}/*.{obm,mid} $out/share/games/openttd/baseset/openmsx 68 68 ''} 69 69 70 - ${stdenv.lib.optionalString withFluidSynth '' 70 + ${lib.optionalString withFluidSynth '' 71 71 wrapProgram $out/bin/openttd \ 72 72 --add-flags -m \ 73 73 --add-flags extmidi:cmd=${playmidi}/bin/playmidi
+2 -2
pkgs/games/opentyrian/default.nix
··· 1 - {stdenv, fetchurl, fetchzip, SDL, SDL_net}: 1 + { lib, stdenv, fetchurl, fetchzip, SDL, SDL_net }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "opentyrian"; ··· 31 31 description = ''Open source port of the game "Tyrian"''; 32 32 homepage = "https://bitbucket.org/opentyrian/opentyrian"; 33 33 # This does not account of Tyrian data. 34 - # license = stdenv.lib.licenses.gpl2; 34 + # license = lib.licenses.gpl2; 35 35 }; 36 36 }
+4 -4
pkgs/games/openxcom/default.nix
··· 1 - {stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib, openssl, libyamlcpp, boost 1 + {lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib, openssl, libyamlcpp, boost 2 2 , SDL, SDL_image, SDL_mixer, SDL_gfx }: 3 3 4 4 let version = "1.0.0.2019.10.18"; in ··· 19 19 description = "Open source clone of UFO: Enemy Unknown"; 20 20 homepage = "https://openxcom.org"; 21 21 repositories.git = "https://github.com/SupSuper/OpenXcom.git"; 22 - maintainers = [ stdenv.lib.maintainers.cpages ]; 23 - platforms = stdenv.lib.platforms.linux; 24 - license = stdenv.lib.licenses.gpl3; 22 + maintainers = [ lib.maintainers.cpages ]; 23 + platforms = lib.platforms.linux; 24 + license = lib.licenses.gpl3; 25 25 }; 26 26 27 27 }
+4 -4
pkgs/games/papermc/default.nix
··· 1 - { stdenv, fetchurl, bash, jre }: 1 + { lib, stdenv, fetchurl, bash, jre }: 2 2 let 3 3 mcVersion = "1.16.4"; 4 4 buildNum = "296"; ··· 29 29 meta = { 30 30 description = "High-performance Minecraft Server"; 31 31 homepage = "https://papermc.io/"; 32 - license = stdenv.lib.licenses.gpl3Only; 33 - platforms = stdenv.lib.platforms.unix; 34 - maintainers = with stdenv.lib.maintainers; [ aaronjanse ]; 32 + license = lib.licenses.gpl3Only; 33 + platforms = lib.platforms.unix; 34 + maintainers = with lib.maintainers; [ aaronjanse ]; 35 35 }; 36 36 }
+4 -4
pkgs/games/pingus/default.nix
··· 1 - {stdenv, fetchgit, cmake, SDL2, SDL2_image, boost, libpng, SDL2_mixer 1 + {lib, stdenv, fetchgit, cmake, SDL2, SDL2_image, boost, libpng, SDL2_mixer 2 2 , pkgconfig, libGLU, libGL, git, jsoncpp }: 3 3 stdenv.mkDerivation rec { 4 4 pname = "pingus"; ··· 15 15 16 16 meta = { 17 17 description = ''A puzzle game with mechanics similar to Lemmings''; 18 - platforms = stdenv.lib.platforms.linux; 19 - maintainers = [stdenv.lib.maintainers.raskin]; 20 - license = stdenv.lib.licenses.gpl3; 18 + platforms = lib.platforms.linux; 19 + maintainers = [lib.maintainers.raskin]; 20 + license = lib.licenses.gpl3; 21 21 }; 22 22 }
+4 -4
pkgs/games/planetaryannihilation/default.nix
··· 34 34 ln -s ${systemd}/lib/libudev.so.1 $out/lib/libudev.so.0 35 35 36 36 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/PA" 37 - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib xorg.libXdamage xorg.libXfixes gtk2 glib stdenv.glibc.out "$out" xorg.libXext pango udev xorg.libX11 xorg.libXcomposite alsaLib atk nspr fontconfig cairo pango nss freetype gnome2.GConf gdk-pixbuf xorg.libXrender ]}:{stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" "$out/host/CoherentUI_Host" 37 + patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib xorg.libXdamage xorg.libXfixes gtk2 glib stdenv.glibc.out "$out" xorg.libXext pango udev xorg.libX11 xorg.libXcomposite alsaLib atk nspr fontconfig cairo pango nss freetype gnome2.GConf gdk-pixbuf xorg.libXrender ]}:{stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" "$out/host/CoherentUI_Host" 38 38 39 - wrapProgram $out/PA --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib stdenv.glibc.out xorg.libX11 xorg.libXcursor gtk2 glib curl "$out" ]}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" 39 + wrapProgram $out/PA --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib stdenv.glibc.out xorg.libX11 xorg.libXcursor gtk2 glib curl "$out" ]}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" 40 40 41 41 for f in $out/lib/*; do 42 - patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib curl xorg.libX11 stdenv.glibc.out xorg.libXcursor "$out" ]}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" $f 42 + patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib curl xorg.libX11 stdenv.glibc.out xorg.libXcursor "$out" ]}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" $f 43 43 done 44 44 ''; 45 45 46 46 meta = with lib; { 47 47 homepage = "http://www.uberent.com/pa/"; 48 48 description = "Next-generation RTS that takes the genre to a planetary scale"; 49 - license = stdenv.lib.licenses.unfree; 49 + license = lib.licenses.unfree; 50 50 platforms = platforms.linux; 51 51 maintainers = [ maintainers.domenkozar ]; 52 52 };
+2 -4
pkgs/games/pokerth/default.nix
··· 1 - { mkDerivation, stdenv, fetchFromGitHub, runCommand, fetchpatch, patchutils, qmake, qtbase 1 + { lib, mkDerivation, stdenv, fetchFromGitHub, runCommand, fetchpatch, patchutils, qmake, qtbase 2 2 , SDL, SDL_mixer, boost, curl, gsasl, libgcrypt, libircclient, protobuf, sqlite 3 3 , wrapQtAppsHook 4 4 , tinyxml2, target ? "client" }: 5 - 6 - with stdenv.lib; 7 5 8 6 let 9 7 hiDPI = fetchpatch { ··· 65 63 66 64 enableParallelBuilding = true; 67 65 68 - meta = { 66 + meta = with lib; { 69 67 homepage = "https://www.pokerth.net"; 70 68 description = "Poker game ${target}"; 71 69 license = licenses.gpl3;
+3 -3
pkgs/games/pong3d/default.nix
··· 1 - {stdenv, fetchurl, libX11}: 1 + {lib, stdenv, fetchurl, libX11}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "3dpong-0.5"; ··· 17 17 meta = { 18 18 homepage = "http://www.newbreedsoftware.com/3dpong/"; 19 19 description = "One or two player 3d sports game based on Pong from Atari"; 20 - license = stdenv.lib.licenses.gpl2Plus; 21 - platforms = stdenv.lib.platforms.linux; 20 + license = lib.licenses.gpl2Plus; 21 + platforms = lib.platforms.linux; 22 22 }; 23 23 }
+6 -6
pkgs/games/prboom/default.nix
··· 1 - { stdenv, fetchurl, SDL, SDL_mixer, SDL_net 1 + { lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_net 2 2 , libGLU ? null 3 3 , libGL ? null 4 4 , useOpenGL ? stdenv.hostPlatform == stdenv.buildPlatform ··· 14 14 }; 15 15 16 16 buildInputs = [ SDL SDL_mixer SDL_net ] 17 - ++ stdenv.lib.optionals useOpenGL [ libGL libGLU ]; 17 + ++ lib.optionals useOpenGL [ libGL libGLU ]; 18 18 19 19 doCheck = stdenv.hostPlatform == stdenv.buildPlatform; 20 20 21 21 configureFlags = [ 22 - (stdenv.lib.enableFeature useOpenGL "gl") 23 - (stdenv.lib.enableFeature doCheck "sdltest") 24 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 22 + (lib.enableFeature useOpenGL "gl") 23 + (lib.enableFeature doCheck "sdltest") 24 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 25 25 "--disable-cpu-opt" 26 26 "--without-x" 27 27 "ac_cv_type_uid_t=yes" 28 28 "ac_cv_type_gid_t=yes" 29 29 ]; 30 30 31 - postInstall = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 31 + postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 32 32 mv $out/games/ $out/bin 33 33 ''; 34 34 }
+1 -1
pkgs/games/quake2/yquake2/wrapper.nix
··· 12 12 }; 13 13 14 14 in stdenv.mkDerivation { 15 - name = "${name}-${stdenv.lib.getVersion yquake2}"; 15 + name = "${name}-${lib.getVersion yquake2}"; 16 16 17 17 nativeBuildInputs = [ makeWrapper ]; 18 18
+1 -1
pkgs/games/quake3/wrapper/default.nix
··· 1 1 { stdenv, buildEnv, lib, libGL, ioquake3, makeWrapper }: 2 2 3 - { paks, name ? (stdenv.lib.head paks).name, description ? "" }: 3 + { paks, name ? (lib.head paks).name, description ? "" }: 4 4 5 5 let 6 6 libPath = lib.makeLibraryPath [ libGL stdenv.cc.cc ];
+3 -3
pkgs/games/quakespasm/default.nix
··· 1 - { stdenv, SDL, fetchurl, gzip, libvorbis, libmad }: 1 + { lib, stdenv, SDL, fetchurl, gzip, libvorbis, libmad }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "quakespasm"; 4 4 majorVersion = "0.93"; ··· 36 36 and smoother mouse input - though no CD support. 37 37 ''; 38 38 39 - platforms = stdenv.lib.platforms.linux; 40 - maintainers = [ stdenv.lib.maintainers.m3tti ]; 39 + platforms = lib.platforms.linux; 40 + maintainers = [ lib.maintainers.m3tti ]; 41 41 }; 42 42 }
+4 -4
pkgs/games/quantumminigolf/default.nix
··· 1 - {stdenv, fetchurl, fftwSinglePrec, freetype, SDL, SDL_ttf}: 1 + {lib, stdenv, fetchurl, fftwSinglePrec, freetype, SDL, SDL_ttf}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 33 33 meta = { 34 34 inherit (s) version; 35 35 description = ''Quantum mechanics-based minigolf-like game''; 36 - license = stdenv.lib.licenses.gpl2 ; 37 - maintainers = [stdenv.lib.maintainers.raskin]; 38 - platforms = stdenv.lib.platforms.linux; 36 + license = lib.licenses.gpl2 ; 37 + maintainers = [lib.maintainers.raskin]; 38 + platforms = lib.platforms.linux; 39 39 }; 40 40 }
+1 -1
pkgs/games/r2mod_cli/default.nix
··· 21 21 makeFlags = [ "PREFIX=$(out)" ]; 22 22 23 23 postInstall = '' 24 - wrapProgram $out/bin/r2mod --prefix PATH : "${stdenv.lib.makeBinPath [ jq p7zip ]}"; 24 + wrapProgram $out/bin/r2mod --prefix PATH : "${lib.makeBinPath [ jq p7zip ]}"; 25 25 ''; 26 26 27 27 meta = with lib; {
+3 -3
pkgs/games/racer/default.nix
··· 1 - { fetchurl, stdenv, allegro, libjpeg, makeWrapper }: 1 + { fetchurl, lib, stdenv, allegro, libjpeg, makeWrapper }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "racer-1.1"; ··· 25 25 meta = { 26 26 description = "Car racing game"; 27 27 homepage = "http://hippo.nipax.cz/download.en.php"; 28 - license = stdenv.lib.licenses.gpl2Plus; 29 - platforms = stdenv.lib.platforms.linux; 28 + license = lib.licenses.gpl2Plus; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+5 -7
pkgs/games/residualvm/default.nix
··· 1 - { stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib 2 - , libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 1 + { lib, stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib 2 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 3 3 , openglSupport ? libGLSupported, libGLU, libGL ? null 4 4 }: 5 5 6 6 assert openglSupport -> libGL != null && libGLU != null; 7 - 8 - with stdenv.lib; 9 7 10 8 stdenv.mkDerivation rec { 11 9 version = "0.1.1"; ··· 17 15 }; 18 16 19 17 buildInputs = [ stdenv SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ] 20 - ++ optionals openglSupport [ libGL libGLU ]; 18 + ++ lib.optionals openglSupport [ libGL libGLU ]; 21 19 22 20 configureFlags = [ "--enable-all-engines" ]; 23 21 24 - meta = { 22 + meta = with lib; { 25 23 description = "Interpreter for LucasArts' Lua-based 3D adventure games"; 26 24 homepage = "http://residualvm.org/"; 27 25 repositories.git = "https://github.com/residualvm/residualvm.git"; 28 26 license = licenses.gpl2; 29 - platforms = stdenv.lib.platforms.linux; 27 + platforms = platforms.linux; 30 28 }; 31 29 }
+3 -3
pkgs/games/rftg/default.nix
··· 1 - { stdenv, fetchurl, gtk2, pkgconfig }: 1 + { lib, stdenv, fetchurl, gtk2, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 16 16 meta = { 17 17 homepage = "http://keldon.net/rftg/"; 18 18 description = "Implementation of the card game Race for the Galaxy, including an AI"; 19 - license = stdenv.lib.licenses.gpl2; 20 - maintainers = [ stdenv.lib.maintainers.falsifian ]; 19 + license = lib.licenses.gpl2; 20 + maintainers = [ lib.maintainers.falsifian ]; 21 21 }; 22 22 23 23 }
+2 -2
pkgs/games/rigsofrods/default.nix
··· 1 - { fetchFromGitHub, stdenv, wxGTK30, freeimage, cmake, zziplib, libGLU, libGL, boost, 1 + { fetchFromGitHub, lib, stdenv, wxGTK30, freeimage, cmake, zziplib, libGLU, libGL, boost, 2 2 pkg-config, libuuid, openal, ogre, ois, curl, gtk2, mygui, unzip, 3 3 angelscript, ogrepaged, mysocketw, libxcb 4 4 }: ··· 28 28 libuuid openal ogre ois curl gtk2 mygui unzip angelscript 29 29 ogrepaged mysocketw libxcb ]; 30 30 31 - meta = with stdenv.lib; { 31 + meta = with lib; { 32 32 description = "3D simulator game where you can drive, fly and sail various vehicles"; 33 33 homepage = "http://rigsofrods.sourceforge.net/"; 34 34 license = licenses.gpl3;
+4 -4
pkgs/games/rili/default.nix
··· 1 - { stdenv, fetchurl, SDL_mixer, SDL, autoreconfHook }: 1 + { lib, stdenv, fetchurl, SDL_mixer, SDL, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "ri_li-2.0.1"; ··· 17 17 18 18 meta = { 19 19 homepage = "http://ri-li.sourceforge.net"; 20 - license = stdenv.lib.licenses.gpl2Plus; 20 + license = lib.licenses.gpl2Plus; 21 21 description = "A children's train game"; 22 22 longDescription = '' 23 23 Ri-li is an arcade game licensed under the GPL (General Public License). 24 24 You drive a toy wood engine in many levels and you must collect all the coaches 25 25 to win. 26 26 ''; 27 - maintainers = with stdenv.lib.maintainers; [ jcumming ]; 28 - platforms = with stdenv.lib.platforms; linux; 27 + maintainers = with lib.maintainers; [ jcumming ]; 28 + platforms = with lib.platforms; linux; 29 29 }; 30 30 }
+2 -2
pkgs/games/robotfindskitten/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, ncurses }: 1 + { lib, stdenv, fetchurl, pkgconfig, ncurses }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 6 6 pname = "robotfindskitten";
+2 -2
pkgs/games/scid-vs-pc/default.nix
··· 74 74 meta = with lib; { 75 75 description = "Chess database with play and training functionality"; 76 76 homepage = "http://scidvspc.sourceforge.net/"; 77 - license = stdenv.lib.licenses.gpl2; 77 + license = lib.licenses.gpl2; 78 78 maintainers = [ maintainers.paraseba ]; 79 - platforms = stdenv.lib.platforms.linux; 79 + platforms = lib.platforms.linux; 80 80 }; 81 81 } 82 82
+2 -2
pkgs/games/scid/default.nix
··· 1 - { stdenv, fetchurl, tcl, tk, libX11, zlib, makeWrapper }: 1 + { lib, stdenv, fetchurl, tcl, tk, libX11, zlib, makeWrapper }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "scid"; ··· 52 52 meta = { 53 53 description = "Chess database with play and training functionality"; 54 54 homepage = "http://scid.sourceforge.net/"; 55 - license = stdenv.lib.licenses.gpl2; 55 + license = lib.licenses.gpl2; 56 56 }; 57 57 }
+3 -3
pkgs/games/scrolls/default.nix
··· 1 - { stdenv, fetchurl, gcc 1 + { lib, stdenv, fetchurl, gcc 2 2 , libGLU, libX11, libXext, libXcursor, libpulseaudio 3 3 }: 4 4 stdenv.mkDerivation { ··· 11 11 12 12 platforms = [ "x86_64-linux" ]; 13 13 14 - license = stdenv.lib.licenses.unfree; 14 + license = lib.licenses.unfree; 15 15 }; 16 16 17 17 src = fetchurl { ··· 19 19 sha256 = "ead1fd14988aa07041fedfa7f845c756cd5077a5a402d85bfb749cb669ececec"; 20 20 }; 21 21 22 - libPath = stdenv.lib.makeLibraryPath [ 22 + libPath = lib.makeLibraryPath [ 23 23 gcc 24 24 libGLU 25 25 libX11
+9 -9
pkgs/games/sil/default.nix
··· 1 - { stdenv, fetchzip, ncurses, libX11, libXaw, libXt, libXext, libXmu, makeWrapper, writeScript, ... }: 2 - let 1 + { lib, stdenv, fetchzip, ncurses, libX11, libXaw, libXt, libXext, libXmu, makeWrapper, writeScript, ... }: 2 + let 3 3 setup = writeScript "setup" '' 4 4 mkdir -p "$ANGBAND_PATH" 5 5 # Copy all the data files into place ··· 26 26 27 27 prePatch = '' 28 28 # Allow usage of ANGBAND_PATH 29 - substituteInPlace config.h --replace "#define FIXED_PATHS" "" 29 + substituteInPlace config.h --replace "#define FIXED_PATHS" "" 30 30 ''; 31 31 32 32 preConfigure = '' ··· 38 38 mkdir -p $out/bin 39 39 cp sil $out/bin/sil 40 40 # Wrap the program to set a user-local ANGBAND_PATH, and run the setup script to copy files into place 41 - # We could just use the options for a user-local save and scores dir, but it tried to write to the 41 + # We could just use the options for a user-local save and scores dir, but it tried to write to the 42 42 # lib directory anyway, so we might as well give everyone a copy 43 43 wrapProgram $out/bin/sil \ 44 44 --run "set -u" \ ··· 49 49 meta = { 50 50 description = "A rouge-like game set in the first age of Middle-earth"; 51 51 longDescription = '' 52 - A game of adventure set in the first age of Middle-earth, when the world still 52 + A game of adventure set in the first age of Middle-earth, when the world still 53 53 rang with elven song and gleamed with dwarven mail. 54 54 55 - Walk the dark halls of Angband. Slay creatures black and fell. Wrest a shining 55 + Walk the dark halls of Angband. Slay creatures black and fell. Wrest a shining 56 56 Silmaril from Morgoth’s iron crown. 57 57 ''; 58 58 homepage = "http://www.amirrorclear.net/flowers/game/sil/index.html"; 59 - license = stdenv.lib.licenses.gpl2; 60 - maintainers = [ stdenv.lib.maintainers.michaelpj ]; 61 - platforms = stdenv.lib.platforms.linux; 59 + license = lib.licenses.gpl2; 60 + maintainers = [ lib.maintainers.michaelpj ]; 61 + platforms = lib.platforms.linux; 62 62 }; 63 63 }
+2 -2
pkgs/games/simutrans/default.nix
··· 6 6 # Choose your "paksets" of objects, images, text, music, etc. 7 7 paksets = config.simutrans.paksets or "pak64 pak64.japan pak128 pak128.britain pak128.german"; 8 8 9 - result = with stdenv.lib; withPaks ( 9 + result = with lib; withPaks ( 10 10 if paksets == "*" then attrValues pakSpec # taking all 11 11 else map (name: pakSpec.${name}) (splitString " " paksets) 12 12 ); ··· 24 24 25 25 26 26 # As of 2015/03, many packsets still didn't have a release for version 120. 27 - pakSpec = stdenv.lib.mapAttrs 27 + pakSpec = lib.mapAttrs 28 28 (pakName: attrs: mkPak (attrs // {inherit pakName;})) 29 29 { 30 30 pak64 = {
+1 -1
pkgs/games/sm64ex/default.nix
··· 39 39 buildInputs = [ audiofile SDL2 hexdump ]; 40 40 41 41 makeFlags = [ "VERSION=${region}" ] ++ compileFlags 42 - ++ stdenv.lib.optionals stdenv.isDarwin [ "OSX_BUILD=1" ]; 42 + ++ lib.optionals stdenv.isDarwin [ "OSX_BUILD=1" ]; 43 43 44 44 inherit baseRom; 45 45
+3 -3
pkgs/games/soldat-unstable/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, fpc, zip, makeWrapper 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, fpc, zip, makeWrapper 2 2 , SDL2, freetype, physfs, openal, gamenetworkingsockets 3 3 , xorg, autoPatchelfHook 4 4 }: ··· 27 27 install -Dm644 client/play-regular.ttf -t $out/share/soldat 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "Soldat's base game content"; 32 32 license = licenses.cc-by-40; 33 33 platforms = platforms.all; ··· 109 109 done 110 110 ''; 111 111 112 - meta = with stdenv.lib; { 112 + meta = with lib; { 113 113 description = "Soldat is a unique 2D (side-view) multiplayer action game"; 114 114 license = [ licenses.mit base.meta.license ]; 115 115 inherit (src.meta) homepage;
+4 -4
pkgs/games/speed-dreams/default.nix
··· 1 - { fetchurl, stdenv, libGLU, libGL, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto, 1 + { fetchurl, lib, stdenv, libGLU, libGL, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto, 2 2 libXext, libSM, libICE, libXi, libXt, libXrender, libXxf86vm, openscenegraph, expat, 3 3 libpng, zlib, bash, SDL2, enet, libjpeg, cmake, pkgconfig, libvorbis, runtimeShell, curl }: 4 4 ··· 65 65 meta = { 66 66 description = "Car racing game - TORCS fork with more experimental approach"; 67 67 homepage = "http://speed-dreams.sourceforge.net/"; 68 - license = stdenv.lib.licenses.gpl2Plus; 69 - maintainers = with stdenv.lib.maintainers; [raskin]; 70 - platforms = stdenv.lib.platforms.linux; 68 + license = lib.licenses.gpl2Plus; 69 + maintainers = with lib.maintainers; [raskin]; 70 + platforms = lib.platforms.linux; 71 71 hydraPlatforms = []; 72 72 }; 73 73 }
+3 -3
pkgs/games/spring/default.nix
··· 44 44 buildInputs = [ lzma boost libdevil zlib p7zip openal libvorbis freetype SDL2 45 45 xorg.libX11 xorg.libXcursor libGLU libGL glew curl 46 46 systemd libunwind which minizip ] 47 - ++ stdenv.lib.optional withAI jdk 48 - ++ stdenv.lib.optional withAI python; 47 + ++ lib.optional withAI jdk 48 + ++ lib.optional withAI python; 49 49 50 50 NIX_CFLAGS_COMPILE = "-fpermissive"; # GL header minor incompatibility 51 51 52 52 postInstall = '' 53 53 wrapProgram "$out/bin/spring" \ 54 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc systemd ]}" 54 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc systemd ]}" 55 55 ''; 56 56 57 57 meta = with lib; {
+1 -1
pkgs/games/steam/steam.nix
··· 17 17 18 18 postInstall = '' 19 19 rm $out/bin/steamdeps 20 - ${stdenv.lib.optionalString traceDeps '' 20 + ${lib.optionalString traceDeps '' 21 21 cat > $out/bin/steamdeps <<EOF 22 22 #!${runtimeShell} 23 23 echo \$1 >> ${traceLog}
+4 -4
pkgs/games/tcl2048/default.nix
··· 1 - { stdenv, fetchurl, tcl, tcllib, runtimeShell }: 1 + { lib, stdenv, fetchurl, tcl, tcllib, runtimeShell }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "tcl2048-0.4.0"; ··· 27 27 meta = { 28 28 homepage = "https://github.com/dbohdan/2048.tcl"; 29 29 description = "The game of 2048 implemented in Tcl"; 30 - license = stdenv.lib.licenses.mit; 31 - platforms = stdenv.lib.platforms.all; 32 - maintainers = with stdenv.lib.maintainers; [ dbohdan ]; 30 + license = lib.licenses.mit; 31 + platforms = lib.platforms.all; 32 + maintainers = with lib.maintainers; [ dbohdan ]; 33 33 }; 34 34 }
+3 -3
pkgs/games/teetertorture/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_image, SDL_mixer}: 1 + { lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "teeter-torture-20051018"; ··· 26 26 meta = { 27 27 homepage = "http://www.newbreedsoftware.com/teetertorture/"; 28 28 description = "Simple shooting game with your cannon is sitting atop a teeter totter"; 29 - license = stdenv.lib.licenses.gpl2Plus; 30 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.gpl2Plus; 30 + platforms = lib.platforms.linux; 31 31 }; 32 32 }
+3 -3
pkgs/games/teeworlds/default.nix
··· 1 - { fetchFromGitHub, stdenv, cmake, pkgconfig, python3, alsaLib 1 + { fetchFromGitHub, lib, stdenv, cmake, pkgconfig, python3, alsaLib 2 2 , libX11, libGLU, SDL2, lua5_3, zlib, freetype, wavpack, icoutils 3 3 , nixosTests 4 4 }: ··· 51 51 52 52 homepage = "https://teeworlds.com/"; 53 53 license = "BSD-style, see `license.txt'"; 54 - maintainers = with stdenv.lib.maintainers; [ astsmtl ]; 55 - platforms = stdenv.lib.platforms.linux; 54 + maintainers = with lib.maintainers; [ astsmtl ]; 55 + platforms = lib.platforms.linux; 56 56 }; 57 57 }
+1 -2
pkgs/games/the-powder-toy/default.nix
··· 1 - 2 1 { lib, stdenv, fetchFromGitHub, scons, pkgconfig, SDL2, lua, fftwFloat, 3 2 zlib, bzip2, curl, darwin }: 4 3 ··· 15 14 16 15 nativeBuildInputs = [ scons pkgconfig ]; 17 16 18 - propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin 17 + propagatedBuildInputs = lib.optionals stdenv.isDarwin 19 18 [ darwin.apple_sdk.frameworks.Cocoa ]; 20 19 21 20 buildInputs = [ SDL2 lua fftwFloat zlib bzip2 curl ];
+4 -5
pkgs/games/tibia/default.nix
··· 1 - { stdenv, fetchurl, glibc, libX11, runtimeShell, libGLU, libGL }: 1 + { lib, stdenv, fetchurl, glibc, libX11, runtimeShell, libGLU, libGL }: 2 2 3 - with stdenv.lib; 4 3 stdenv.mkDerivation { 5 4 name = "tibia-10.90"; 6 5 ··· 24 23 cp -r * $out/res 25 24 26 25 patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \ 27 - --set-rpath ${stdenv.lib.makeLibraryPath [ stdenv.cc.cc libX11 libGLU libGL ]} \ 26 + --set-rpath ${lib.makeLibraryPath [ stdenv.cc.cc libX11 libGLU libGL ]} \ 28 27 "$out/res/Tibia" 29 28 30 29 # We've patchelf'd the files. The main ‘Tibia’ binary is a bit ··· 50 49 meta = { 51 50 description = "Top-down MMORPG set in a fantasy world"; 52 51 homepage = "http://tibia.com"; 53 - license = stdenv.lib.licenses.unfree; 52 + license = lib.licenses.unfree; 54 53 platforms = ["i686-linux"]; 55 - maintainers = with stdenv.lib.maintainers; [ ]; 54 + maintainers = with lib.maintainers; [ ]; 56 55 }; 57 56 }
+2 -2
pkgs/games/tinyfugue/default.nix
··· 1 - { stdenv, fetchurl, ncurses, zlib 1 + { lib, stdenv, fetchurl, ncurses, zlib 2 2 , openssl ? null 3 3 , sslSupport ? true 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 assert sslSupport -> openssl != null; 9 9
+4 -4
pkgs/games/torcs/default.nix
··· 1 - { fetchpatch, fetchurl, stdenv, libGLU, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto, 1 + { fetchpatch, fetchurl, lib, stdenv, libGLU, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto, 2 2 libXext, libSM, libICE, libXi, libXt, libXrender, libXxf86vm, libvorbis, 3 3 libpng, zlib, makeWrapper }: 4 4 ··· 42 42 meta = { 43 43 description = "Car racing game"; 44 44 homepage = "http://torcs.sourceforge.net/"; 45 - license = stdenv.lib.licenses.gpl2Plus; 46 - maintainers = with stdenv.lib.maintainers; [viric]; 47 - platforms = stdenv.lib.platforms.linux; 45 + license = lib.licenses.gpl2Plus; 46 + maintainers = with lib.maintainers; [viric]; 47 + platforms = lib.platforms.linux; 48 48 hydraPlatforms = []; 49 49 }; 50 50 }
+2 -2
pkgs/games/trackballs/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, SDL2, SDL2_ttf, gettext, zlib, SDL2_mixer, SDL2_image, guile, libGLU, libGL }: 1 + { lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_ttf, gettext, zlib, SDL2_mixer, SDL2_image, guile, libGLU, libGL }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "trackballs"; ··· 14 14 nativeBuildInputs = [ cmake ]; 15 15 buildInputs = [ zlib SDL2 SDL2_ttf SDL2_mixer SDL2_image guile gettext libGLU libGL ]; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 homepage = "https://trackballs.github.io/"; 19 19 description = "3D Marble Madness clone"; 20 20 platforms = platforms.linux;
+4 -4
pkgs/games/trigger/default.nix
··· 1 - { fetchurl, stdenv, runtimeShell, SDL2, freealut, SDL2_image, openal, physfs 1 + { lib, fetchurl, stdenv, runtimeShell, SDL2, freealut, SDL2_image, openal, physfs 2 2 , zlib, libGLU, libGL, glew, tinyxml-2 }: 3 3 4 4 stdenv.mkDerivation rec { ··· 47 47 meta = { 48 48 description = "A fast-paced single-player racing game"; 49 49 homepage = "http://trigger-rally.sourceforge.net/"; 50 - license = stdenv.lib.licenses.gpl2; 51 - maintainers = with stdenv.lib.maintainers; [viric]; 52 - platforms = with stdenv.lib.platforms; linux; 50 + license = lib.licenses.gpl2; 51 + maintainers = with lib.maintainers; [viric]; 52 + platforms = with lib.platforms; linux; 53 53 }; 54 54 }
+5 -5
pkgs/games/tuxpaint/default.nix
··· 1 - { stdenv, fetchurl, SDL, SDL_image, SDL_ttf, SDL_mixer, libpng, 1 + { lib, stdenv, fetchurl, SDL, SDL_image, SDL_ttf, SDL_mixer, libpng, 2 2 cairo, librsvg, gettext, libpaper, fribidi, pkgconfig, gperf, imagemagick }: 3 3 4 4 stdenv.mkDerivation rec { ··· 34 34 mkdir -p $out/share/applications 35 35 cp hildon/tuxpaint.xpm $out/share/pixmaps 36 36 sed -e "s+Exec=tuxpaint+Exec=$out/bin/tuxpaint+" < src/tuxpaint.desktop > $out/share/applications/tuxpaint.desktop 37 - 37 + 38 38 # Install stamps 39 39 tar xzf $stamps 40 40 cd tuxpaint-stamps-2014.08.23 ··· 45 45 meta = { 46 46 description = "Open Source Drawing Software for Children"; 47 47 homepage = "http://www.tuxpaint.org/"; 48 - license = stdenv.lib.licenses.gpl3; 49 - maintainers = with stdenv.lib.maintainers; [ woffs ]; 50 - platforms = stdenv.lib.platforms.linux; 48 + license = lib.licenses.gpl3; 49 + maintainers = with lib.maintainers; [ woffs ]; 50 + platforms = lib.platforms.linux; 51 51 }; 52 52 }
+4 -4
pkgs/games/ue4/default.nix
··· 11 11 ln -s ${lib.getAttr hash deps} .git/ue4-gitdeps/${prefix}/${hash} 12 12 '' 13 13 ) (lib.attrNames deps)); 14 - libPath = stdenv.lib.makeLibraryPath [ 14 + libPath = lib.makeLibraryPath [ 15 15 xorg.libX11 xorg.libXScrnSaver xorg.libXau xorg.libXcursor xorg.libXext 16 16 xorg.libXfixes xorg.libXi xorg.libXrandr xorg.libXrender xorg.libXxf86vm 17 17 xorg.libxcb ··· 75 75 meta = { 76 76 description = "A suite of integrated tools for game developers to design and build games, simulations, and visualizations"; 77 77 homepage = "https://www.unrealengine.com/what-is-unreal-engine-4"; 78 - license = stdenv.lib.licenses.unfree; 79 - platforms = stdenv.lib.platforms.linux; 80 - maintainers = [ stdenv.lib.maintainers.puffnfresh ]; 78 + license = lib.licenses.unfree; 79 + platforms = lib.platforms.linux; 80 + maintainers = [ lib.maintainers.puffnfresh ]; 81 81 broken = true; 82 82 }; 83 83 }
+4 -4
pkgs/games/ue4demos/default.nix
··· 1 - { stdenv, fetchurl, unzip, patchelf, xorg, openal }: 1 + { lib, stdenv, fetchurl, unzip, patchelf, xorg, openal }: 2 2 3 3 let 4 4 urls = file: ··· 14 14 15 15 nativeBuildInputs = [ unzip patchelf ]; 16 16 17 - rtdeps = stdenv.lib.makeLibraryPath 17 + rtdeps = lib.makeLibraryPath 18 18 [ xorg.libXxf86vm xorg.libXext openal ] 19 - + ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [ stdenv.cc.cc ]; 19 + + ":" + lib.makeSearchPathOutput "lib" "lib64" [ stdenv.cc.cc ]; 20 20 21 21 buildCommand = 22 22 '' ··· 52 52 description = "Unreal Engine 4 Linux demos"; 53 53 homepage = "https://wiki.unrealengine.com/Linux_Demos"; 54 54 platforms = [ "x86_64-linux" ]; 55 - license = stdenv.lib.licenses.unfree; 55 + license = lib.licenses.unfree; 56 56 }; 57 57 }; 58 58
+5 -5
pkgs/games/ufoai/default.nix
··· 1 - { stdenv, fetchurl, libtheora, xvidcore, libGLU, libGL, SDL, SDL_ttf, SDL_mixer 1 + { lib, stdenv, fetchurl, libtheora, xvidcore, libGLU, libGL, SDL, SDL_ttf, SDL_mixer 2 2 , curl, libjpeg, libpng, gettext, cunit, enableEditor?false }: 3 3 4 4 stdenv.mkDerivation rec { ··· 16 16 preConfigure = ''tar xvf "${srcData}"''; 17 17 18 18 configureFlags = [ "--enable-release" "--enable-sse" ] 19 - ++ stdenv.lib.optional enableEditor "--enable-uforadiant"; 19 + ++ lib.optional enableEditor "--enable-uforadiant"; 20 20 21 21 buildInputs = [ 22 22 libtheora xvidcore libGLU libGL SDL SDL_ttf SDL_mixer ··· 28 28 meta = { 29 29 homepage = "http://ufoai.org"; 30 30 description = "A squad-based tactical strategy game in the tradition of X-Com"; 31 - license = stdenv.lib.licenses.gpl2Plus; 32 - maintainers = with stdenv.lib.maintainers; [viric]; 33 - platforms = stdenv.lib.platforms.linux; 31 + license = lib.licenses.gpl2Plus; 32 + maintainers = with lib.maintainers; [viric]; 33 + platforms = lib.platforms.linux; 34 34 hydraPlatforms = []; 35 35 }; 36 36 }
+4 -4
pkgs/games/ultimatestunts/default.nix
··· 1 - {stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis, 1 + {lib, stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis, 2 2 pkgconfig}: 3 3 4 4 stdenv.mkDerivation { ··· 18 18 meta = { 19 19 homepage = "http://www.ultimatestunts.nl/"; 20 20 description = "Remake of the popular racing DOS-game Stunts"; 21 - license = stdenv.lib.licenses.gpl2Plus; 22 - maintainers = with stdenv.lib.maintainers; [viric]; 23 - platforms = with stdenv.lib.platforms; linux; 21 + license = lib.licenses.gpl2Plus; 22 + maintainers = with lib.maintainers; [viric]; 23 + platforms = with lib.platforms; linux; 24 24 }; 25 25 }
+1 -1
pkgs/games/ultrastardx/default.nix
··· 55 55 --subst-var-by libpcre_LIBNAME libpcre.so.1 56 56 ''; 57 57 58 - preBuild = with stdenv.lib; 58 + preBuild = with lib; 59 59 let items = concatMapStringsSep " " (x: "-rpath ${getLib x}/lib") sharedLibs; 60 60 in '' 61 61 export NIX_LDFLAGS="$NIX_LDFLAGS ${items}"
+2 -2
pkgs/games/uqm/3dovideo.nix
··· 1 1 { stdenv, requireFile, writeText, fetchurl, haskellPackages }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 let 6 6 makeSpin = num: let ··· 30 30 buildDepends = [ base binary bytestring filepath tar ]; 31 31 32 32 description = "Extract video files from a Star Control II 3DO image"; 33 - license = stdenv.lib.licenses.bsd3; 33 + license = lib.licenses.bsd3; 34 34 }; 35 35 36 36 in stdenv.mkDerivation {
+1 -1
pkgs/games/uqm/default.nix
··· 102 102 spin-offs, thereby making zillions more people happy! 103 103 ''; 104 104 homepage = "http://sc2.sourceforge.net/"; 105 - license = stdenv.lib.licenses.gpl2; 105 + license = lib.licenses.gpl2; 106 106 maintainers = with lib.maintainers; [ jcumming aszlig ]; 107 107 platforms = with lib.platforms; linux; 108 108 };
+4 -4
pkgs/games/vdrift/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchsvn, pkgconfig, sconsPackages, libGLU, libGL, SDL2, SDL2_image 1 + { lib, stdenv, fetchFromGitHub, fetchsvn, pkgconfig, sconsPackages, libGLU, libGL, SDL2, SDL2_image 2 2 , libvorbis, bullet, curl, gettext, writeTextFile 3 3 4 4 , data ? fetchsvn { ··· 35 35 meta = { 36 36 description = "Car racing game"; 37 37 homepage = "http://vdrift.net/"; 38 - license = stdenv.lib.licenses.gpl2Plus; 39 - maintainers = with stdenv.lib.maintainers; [viric]; 40 - platforms = stdenv.lib.platforms.linux; 38 + license = lib.licenses.gpl2Plus; 39 + maintainers = with lib.maintainers; [viric]; 40 + platforms = lib.platforms.linux; 41 41 }; 42 42 }; 43 43 wrappedName = "vdrift-${version}-with-data-${toString data.rev}";
+3 -3
pkgs/games/vectoroids/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_image, SDL_mixer}: 1 + {lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "vectoroids-1.1.0"; ··· 17 17 meta = { 18 18 homepage = "http://www.newbreedsoftware.com/vectoroids/"; 19 19 description = "Clone of the classic arcade game Asteroids by Atari"; 20 - license = stdenv.lib.licenses.gpl2Plus; 21 - platforms = stdenv.lib.platforms.linux; 20 + license = lib.licenses.gpl2Plus; 21 + platforms = lib.platforms.linux; 22 22 }; 23 23 }
+2 -2
pkgs/games/vessel/default.nix
··· 20 20 phases = "installPhase"; 21 21 ld_preload = ./isatty.c; 22 22 23 - libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc stdenv.cc.libc ] 24 - + ":" + stdenv.lib.makeLibraryPath [ SDL libpulseaudio alsaLib ] ; 23 + libPath = lib.makeLibraryPath [ stdenv.cc.cc stdenv.cc.libc ] 24 + + ":" + lib.makeLibraryPath [ SDL libpulseaudio alsaLib ] ; 25 25 26 26 installPhase = '' 27 27 mkdir -p $out/libexec/strangeloop/vessel/
+2 -4
pkgs/games/vms-empire/default.nix
··· 1 - { stdenv, fetchurl, ncurses, xmlto }: 1 + { lib, stdenv, fetchurl, ncurses, xmlto }: 2 2 3 - with stdenv.lib; 4 3 stdenv.mkDerivation rec { 5 - 6 4 pname = "vms-empire"; 7 5 version = "1.15"; 8 6 ··· 22 20 23 21 makeFlags = [ "DESTDIR=$(out)" ]; 24 22 25 - meta = { 23 + meta = with lib; { 26 24 description = "The ancestor of all expand/explore/exploit/exterminate games"; 27 25 longDescription = '' 28 26 Empire is a simulation of a full-scale war between two emperors, the
+1 -1
pkgs/games/warzone2100/default.nix
··· 44 44 45 45 enableParallelBuilding = true; 46 46 47 - postInstall = stdenv.lib.optionalString withVideos 47 + postInstall = lib.optionalString withVideos 48 48 "cp ${sequences_src} $out/share/warzone2100/sequences.wz"; 49 49 50 50 meta = with lib; {
+1 -1
pkgs/games/wesnoth/default.nix
··· 19 19 20 20 buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_net SDL2_ttf pango gettext boost 21 21 libvorbis fribidi dbus libpng pcre openssl icu ] 22 - ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation]; 22 + ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation]; 23 23 24 24 cmakeFlags = [ "-DENABLE_TOOLS=${if enableTools then "ON" else "OFF"}" ]; 25 25
+2 -2
pkgs/games/worldofgoo/default.nix
··· 38 38 sourceRoot = pname; 39 39 phases = [ "unpackPhase installPhase" ]; 40 40 41 - libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib stdenv.cc.libc SDL2 SDL2_mixer 41 + libPath = lib.makeLibraryPath [ stdenv.cc.cc.lib stdenv.cc.libc SDL2 SDL2_mixer 42 42 libogg libvorbis ]; 43 43 44 44 unpackPhase = '' 45 - # The game is distributed as a shell script, with a tar of mojosetup, and a 45 + # The game is distributed as a shell script, with a tar of mojosetup, and a 46 46 # zip archive attached to the end. Therefore a simple unzip does the job. 47 47 # However, to avoid unzip errors, we need to strip those out first. 48 48 tail -c +421887 ${src} > ${src}.zip
+4 -4
pkgs/games/xboard/default.nix
··· 1 - {stdenv, fetchurl, libX11, xorgproto, libXt, libXaw, libSM, libICE, libXmu 1 + {lib, stdenv, fetchurl, libX11, xorgproto, libXt, libXaw, libSM, libICE, libXmu 2 2 , libXext, gnuchess, texinfo, libXpm, pkgconfig, librsvg, cairo, pango 3 3 , gtk2 4 4 }: ··· 28 28 inherit (s) version; 29 29 description = ''GUI for chess engines''; 30 30 homepage = "https://www.gnu.org/software/xboard/"; 31 - maintainers = [stdenv.lib.maintainers.raskin]; 32 - platforms = stdenv.lib.platforms.unix; 33 - license = stdenv.lib.licenses.gpl3Plus; 31 + maintainers = [lib.maintainers.raskin]; 32 + platforms = lib.platforms.unix; 33 + license = lib.licenses.gpl3Plus; 34 34 }; 35 35 }
+3 -3
pkgs/games/xonotic/default.nix
··· 38 38 aims to become the best possible open-source FPS of its kind. 39 39 ''; 40 40 homepage = "https://www.xonotic.org/"; 41 - license = stdenv.lib.licenses.gpl2Plus; 42 - maintainers = with stdenv.lib.maintainers; [ astsmtl zalakain petabyteboy ]; 43 - platforms = stdenv.lib.platforms.linux; 41 + license = lib.licenses.gpl2Plus; 42 + maintainers = with lib.maintainers; [ astsmtl zalakain petabyteboy ]; 43 + platforms = lib.platforms.linux; 44 44 }; 45 45 46 46 desktopItem = makeDesktopItem {
+4 -4
pkgs/games/xpilot/bloodspilot-client.nix
··· 1 - { stdenv, fetchurl, libX11, SDL, libGLU, libGL, expat, zlib, SDL_ttf, SDL_image }: 1 + { lib, stdenv, fetchurl, libX11, SDL, libGLU, libGL, expat, zlib, SDL_ttf, SDL_image }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.5.0"; ··· 18 18 meta = { 19 19 description = ''A multiplayer space combat game (client part)''; 20 20 homepage = "http://bloodspilot.sf.net/"; 21 - license = stdenv.lib.licenses.gpl2Plus ; 22 - maintainers = [stdenv.lib.maintainers.raskin]; 23 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.gpl2Plus ; 22 + maintainers = [lib.maintainers.raskin]; 23 + platforms = lib.platforms.linux; 24 24 }; 25 25 }
+2 -2
pkgs/games/xskat/default.nix
··· 1 - {stdenv, fetchurl, libX11, imake, gccmakedep}: 1 + {lib, stdenv, fetchurl, libX11, imake, gccmakedep}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "xskat"; ··· 20 20 21 21 installTargets = [ "install" "install.man" ]; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = ''Famous german card game''; 25 25 platforms = platforms.unix; 26 26 license = licenses.free;
+3 -3
pkgs/games/xsnow/default.nix
··· 1 - { stdenv, fetchurl, libXt, libXpm, libXext, imake, gccmakedep }: 1 + { lib, stdenv, fetchurl, libXt, libXpm, libXext, imake, gccmakedep }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 20 20 meta = { 21 21 description = "An X-windows application that will let it snow on the root, in between and on windows"; 22 22 homepage = "http://janswaal.home.xs4all.nl/Xsnow/"; 23 - license = stdenv.lib.licenses.unfree; 24 - maintainers = [ stdenv.lib.maintainers.robberer ]; 23 + license = lib.licenses.unfree; 24 + maintainers = [ lib.maintainers.robberer ]; 25 25 }; 26 26 }
+5 -5
pkgs/games/xsok/default.nix
··· 1 - {stdenv, fetchurl, libX11, imake, libXt, libXaw, libXpm, libXext 1 + {lib, stdenv, fetchurl, libX11, imake, libXt, libXaw, libXpm, libXext 2 2 , withNethackLevels ? true 3 3 }: 4 4 stdenv.mkDerivation rec { ··· 31 31 32 32 makeFlags = ["BINDIR=$(out)/bin"]; 33 33 34 - postInstall = stdenv.lib.optionalString withNethackLevels '' 34 + postInstall = lib.optionalString withNethackLevels '' 35 35 gzip < ${nethackLevels} > "$out/share/games/lib/xsok/Nethack.def.gz" 36 36 echo Nethack > "$out/share/games/lib/xsok/gametypes" 37 37 ''; ··· 39 39 meta = { 40 40 inherit version; 41 41 description = "A generic Sokoban game for X11"; 42 - license = stdenv.lib.licenses.gpl2Plus; 43 - maintainers = [stdenv.lib.maintainers.raskin]; 44 - platforms = stdenv.lib.platforms.unix; 42 + license = lib.licenses.gpl2Plus; 43 + maintainers = [lib.maintainers.raskin]; 44 + platforms = lib.platforms.unix; 45 45 homepage = "https://tracker.debian.org/pkg/xsok"; 46 46 }; 47 47 }
+1 -1
pkgs/games/zandronum/fmod.nix
··· 1 1 { stdenv, lib, fetchurl, alsaLib, libpulseaudio, undmg }: 2 2 3 3 let 4 - bits = stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "64"; 4 + bits = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "64"; 5 5 libPath = lib.makeLibraryPath [ stdenv.cc.cc alsaLib libpulseaudio ]; 6 6 7 7 in
+1 -1
pkgs/games/zandronum/sqlite.nix
··· 20 20 meta = { 21 21 homepage = "http://www.sqlite.org/"; 22 22 description = "A single C code file, named sqlite3.c, that contains all C code for the core SQLite library and the FTS3 and RTREE extensions"; 23 - platforms = stdenv.lib.platforms.unix; 23 + platforms = lib.platforms.unix; 24 24 maintainers = [ lib.maintainers.lassulus ]; 25 25 }; 26 26 }
+2 -2
pkgs/games/zangband/default.nix
··· 1 - { stdenv, fetchurl, ncurses, flex, bison, autoconf, automake, m4, coreutils }: 1 + { lib, stdenv, fetchurl, ncurses, flex, bison, autoconf, automake, m4, coreutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zangband"; ··· 52 52 53 53 meta = { 54 54 description = "Rogue-like game"; 55 - license = stdenv.lib.licenses.unfree; 55 + license = lib.licenses.unfree; 56 56 broken = true; # broken in runtime, will not get pass character generation 57 57 }; 58 58 }
+2 -2
pkgs/games/zod/default.nix
··· 1 - { fetchurl, stdenv, unrar, unzip, SDL, SDL_image, SDL_ttf, SDL_mixer 1 + { lib, fetchurl, stdenv, unrar, unzip, SDL, SDL_image, SDL_ttf, SDL_mixer 2 2 , libmysqlclient, makeWrapper }: 3 3 4 4 stdenv.mkDerivation { ··· 40 40 meta = { 41 41 description = "Multiplayer remake of ZED"; 42 42 homepage = "http://zod.sourceforge.net/"; 43 - license = stdenv.lib.licenses.gpl3Plus; /* Says the web */ 43 + license = lib.licenses.gpl3Plus; /* Says the web */ 44 44 }; 45 45 }