pkgs/games: stdenv.lib -> lib
This commit is contained in:
parent
93e5d99592
commit
2e34288f0d
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "DESTDIR=" ];
|
||||
|
||||
preBuild = stdenv.lib.optionalString stdenv.cc.isClang
|
||||
preBuild = lib.optionalString stdenv.cc.isClang
|
||||
''
|
||||
substituteInPlace Makefile \
|
||||
--replace -fpredictive-commoning ""
|
||||
|
@ -5,7 +5,7 @@ let
|
||||
|
||||
inherit (xorg) libXext libX11;
|
||||
|
||||
lpath = "${stdenv.cc.cc.lib}/lib64:" + stdenv.lib.makeLibraryPath [
|
||||
lpath = "${stdenv.cc.cc.lib}/lib64:" + lib.makeLibraryPath [
|
||||
zlib libmad libpng12 libcaca libXext libX11 libGLU libGL alsaLib libpulseaudio];
|
||||
|
||||
in
|
||||
|
@ -93,7 +93,7 @@ in self // {
|
||||
'';
|
||||
|
||||
meta = alephone.meta // {
|
||||
license = stdenv.lib.licenses.free;
|
||||
license = lib.licenses.free;
|
||||
hydraPlatforms = [ ];
|
||||
} // meta;
|
||||
});
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libvorbis, libogg, libtheora, SDL, libXft, SDL_image, zlib, libX11, libpng, openal, runtimeShell, requireFile, commercialVersion ? false }:
|
||||
{ lib, stdenv, fetchurl, libvorbis, libogg, libtheora, SDL, libXft, SDL_image, zlib, libX11, libpng, openal, runtimeShell, requireFile, commercialVersion ? false }:
|
||||
|
||||
let plainName = "andyetitmoves";
|
||||
version = "1.2.2";
|
||||
@ -68,8 +68,8 @@ stdenv.mkDerivation {
|
||||
|
||||
homepage = "http://www.andyetitmoves.net/";
|
||||
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
license = lib.licenses.unfree;
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [bluescreen303];
|
||||
maintainers = with lib.maintainers; [bluescreen303];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gtk2-x11, glib, pango, cairo, atk, gdk-pixbuf, libX11 }:
|
||||
{ lib, stdenv, fetchurl, gtk2-x11, glib, pango, cairo, atk, gdk-pixbuf, libX11 }:
|
||||
|
||||
# Arena is free software in the sense of "free beer" but not as in "free
|
||||
# speech". We can install it as we please, but we cannot re-distribute it in
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
let
|
||||
|
||||
inherit (stdenv.lib) makeLibraryPath;
|
||||
inherit (lib) makeLibraryPath;
|
||||
libDir = "lib64";
|
||||
|
||||
in
|
||||
@ -66,9 +66,9 @@ stdenv.mkDerivation rec {
|
||||
UCI protocol I, II. Furthermore, compatible to Chess960, DGT electronic
|
||||
chess board & DGT clocks and much more.
|
||||
'';
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
license = lib.licenses.unfree;
|
||||
platforms = ["x86_64-linux"];
|
||||
hydraPlatforms = stdenv.lib.platforms.none;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, zlib, boost
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, zlib, boost
|
||||
, openal, glm, freetype, libGLU, SDL2, epoxy
|
||||
, dejavu_fonts, inkscape, optipng, imagemagick
|
||||
, withCrashReporter ? !stdenv.isDarwin
|
||||
@ -8,7 +8,7 @@
|
||||
, gdb ? null
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "arx-libertatis";
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ fetchFromGitHub, stdenv, makeDesktopItem, openal, pkgconfig, libogg,
|
||||
{ fetchFromGitHub, lib, stdenv, makeDesktopItem, openal, pkgconfig, libogg,
|
||||
libvorbis, SDL, SDL_image, makeWrapper, zlib, file,
|
||||
client ? true, server ? true }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@ -67,6 +67,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://assault.cubers.net";
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux; # should work on darwin with a little effort.
|
||||
license = stdenv.lib.licenses.zlib;
|
||||
license = lib.licenses.zlib;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, cmake, xlibsWrapper, libGLU, libGL, SDL, openal, freealut, libogg, libvorbis, runtimeShell }:
|
||||
{ fetchurl, lib, stdenv, cmake, xlibsWrapper, libGLU, libGL, SDL, openal, freealut, libogg, libvorbis, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.3.2";
|
||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Hardcore 3D space shooter with spaceship upgrade possibilities";
|
||||
homepage = "https://www.viewizard.com/";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, SDL, which, installTool ? false }:
|
||||
{ lib, stdenv, fetchFromGitHub, SDL, which, installTool ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "azimuth";
|
||||
@ -41,10 +41,10 @@ stdenv.mkDerivation rec {
|
||||
bosses to tangle with.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
homepage = "https://mdsteele.games/azimuth/index.html";
|
||||
maintainers = with stdenv.lib.maintainers; [ marius851000 ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ marius851000 ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, SDL, SDL_image, SDL_mixer, SDL_ttf, guile, gettext }:
|
||||
{ fetchurl, lib, stdenv, SDL, SDL_image, SDL_mixer, SDL_ttf, guile, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ballandpaddle-0.8.1";
|
||||
@ -31,14 +31,14 @@ stdenv.mkDerivation rec {
|
||||
with Guile. Follow the example level sets and the documentation.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
homepage = "https://www.gnu.org/software/ballandpaddle/";
|
||||
|
||||
maintainers = [ ];
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
|
||||
hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
|
||||
hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin
|
||||
};
|
||||
}
|
||||
|
@ -6,8 +6,8 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ SDL SDL_image SDL_ttf SDL_mixer ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL";
|
||||
NIX_CFLAGS_LINK = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin
|
||||
NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin
|
||||
"-framework CoreFoundation -framework OpenGL -framework Cocoa";
|
||||
|
||||
patches = [ ./use-home-dir.patch ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL, lua, libGLU, libGL }:
|
||||
{ lib, stdenv, fetchurl, SDL, lua, libGLU, libGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bitsnbots-20111230";
|
||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Simple puzzle game with moving robots";
|
||||
homepage = "http://moikmellah.org/blog/?page_id=19";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchsvn, SDL, libGLU, libGL, openal, libvorbis, freealut, SDL_image}:
|
||||
{lib, stdenv, fetchsvn, SDL, libGLU, libGL, openal, libvorbis, freealut, SDL_image}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "blackshades-svn-110";
|
||||
@ -27,8 +27,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://icculus.org/blackshades/";
|
||||
description = "Protect the VIP";
|
||||
license = stdenv.lib.licenses.free;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.free;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }:
|
||||
{ lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blobby-volley";
|
||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
chmod a+x "$out/bin/blobby"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = ''A blobby volleyball game'';
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses, openssl, flex, bison, less, miscfiles }:
|
||||
{ lib, stdenv, fetchurl, ncurses, openssl, flex, bison, less, miscfiles }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "bsd-games-2.17";
|
||||
@ -60,8 +60,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://www.t2-project.org/packages/bsd-games.html";
|
||||
description = "Ports of all the games from NetBSD-current that are free";
|
||||
license = stdenv.lib.licenses.free;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.free;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optionals optionalString;
|
||||
inherit (lib) optionals optionalString;
|
||||
|
||||
cursesDeps = [ gettext ncurses ]
|
||||
++ optionals stdenv.isDarwin [ CoreFoundation ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, tcl, tk, libX11, makeWrapper }:
|
||||
{ lib, stdenv, fetchurl, tcl, tk, libX11, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "chessdb-3.6.19-beta-1";
|
||||
@ -25,6 +25,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://chessdb.sourceforge.net/";
|
||||
description = "A free chess database";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -43,10 +43,10 @@ mkDerivation rec {
|
||||
qtsvg
|
||||
protobuf
|
||||
SDL2
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
libevdev
|
||||
udev
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
qtmacextras
|
||||
];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub }:
|
||||
{ lib, stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chocolate-doom";
|
||||
@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://chocolate-doom.org/";
|
||||
description = "A Doom source port that accurately reproduces the experience of Doom as it was played in the 1990s";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out
|
||||
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
hydraPlatforms = lib.platforms.linux; # darwin times out
|
||||
maintainers = with lib.maintainers; [ MP2E ];
|
||||
};
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ makeWrapper mono ];
|
||||
|
||||
libraries = stdenv.lib.makeLibraryPath [ gtk2 curl ];
|
||||
libraries = lib.makeLibraryPath [ gtk2 curl ];
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf
|
||||
{ lib, stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf
|
||||
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
@ -22,8 +22,8 @@ mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/Cockatrice/Cockatrice";
|
||||
description = "A cross-platform virtual tabletop for multiplayer card games";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ evanjs ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ evanjs ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, libX11
|
||||
, zlib
|
||||
@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 zlib xorgproto ]
|
||||
++ stdenv.lib.optional (libGL != null) libGL
|
||||
++ stdenv.lib.optional (libGLU != null) libGLU
|
||||
++ stdenv.lib.optional (freeglut != null) freeglut;
|
||||
++ lib.optional (libGL != null) libGL
|
||||
++ lib.optional (libGLU != null) libGLU
|
||||
++ lib.optional (freeglut != null) freeglut;
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace src/Makefile.in \
|
||||
@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Masses and springs simulation game";
|
||||
homepage = "http://fs.fsf.org/construo/";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk2, freeglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, gtk2, freeglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "crack-attack-1.1.14";
|
||||
@ -28,8 +28,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!";
|
||||
homepage = "https://www.nongnu.org/crack-attack/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.piotr ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.piotr ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crafty";
|
||||
@ -66,8 +66,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://www.craftychess.com/";
|
||||
description = "Chess program developed by Dr. Robert M. Hyatt";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.jwiegley ];
|
||||
license = lib.licenses.unfree;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.jwiegley ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, python }:
|
||||
{ lib, stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crispy-doom";
|
||||
@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
|
||||
Crispy Doom is a limit-removing enhanced-resolution Doom source port based on Chocolate Doom.
|
||||
Its name means that 640x400 looks \"crisp\" and is also a slight reference to its origin.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ neonfuz ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ neonfuz ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
|
||||
{ lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
|
||||
let
|
||||
version = "0.9.13";
|
||||
in
|
||||
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "A model-airplane flight simulator";
|
||||
maintainers = with stdenv.lib.maintainers; [ raskin ];
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ mkDerivation rec {
|
||||
|
||||
buildInputs = [ qtsvg ];
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
mv CuteMaze.app $out/Applications
|
||||
'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL, SDL_mixer, zlib }:
|
||||
{ lib, stdenv, fetchurl, SDL, SDL_mixer, zlib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "cuyo";
|
||||
@ -14,8 +14,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://karimmi.de/cuyo";
|
||||
description = "Stacking blocks game, with different rules for each level";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dhewm/dhewm3";
|
||||
description = "Doom 3 port to SDL";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with maintainers; [ MP2E ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchsvn
|
||||
# jdk8 is needed for building, but the game runs on newer jres as well
|
||||
, jdk8
|
||||
@ -76,7 +76,7 @@ in stdenv.mkDerivation {
|
||||
install -Dm644 build/game/resources/icon.png $out/share/pixmaps/domination.png
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://domination.sourceforge.net/";
|
||||
downloadPage = "http://domination.sourceforge.net/download.shtml";
|
||||
description = "A game that is a bit like the board game Risk or RisiKo";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, pkgconfig, gtk2 }:
|
||||
{ lib, stdenv, fetchurl, perl, pkgconfig, gtk2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "eboard-1.1.1";
|
||||
@ -25,6 +25,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://www.bergo.eng.br/eboard/";
|
||||
description = "Chess interface for Unix-like systems";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ in stdenv.mkDerivation {
|
||||
buildInputs = [ alsaLib flac gtk2 libvorbis libvpx libGL libGLU SDL2 SDL2_mixer ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper pkgconfig ]
|
||||
++ stdenv.lib.optional (stdenv.hostPlatform.system == "i686-linux") nasm;
|
||||
++ lib.optional (stdenv.hostPlatform.system == "i686-linux") nasm;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace source/build/src/glbuild.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, SDL_image, SDL_ttf }:
|
||||
{ lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, SDL_image, SDL_ttf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# pf5234 (a developer?) at freenode #egoboo told me that I better use 2.7.3 until
|
||||
@ -50,10 +50,10 @@ stdenv.mkDerivation rec {
|
||||
description = "3D dungeon crawling adventure";
|
||||
|
||||
homepage = "http://www.freedink.org/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
# I take it out of hydra as it does not work as well as I'd like
|
||||
# maintainers = [ stdenv.lib.maintainers.bjg ];
|
||||
# platforms = stdenv.lib.platforms.all;
|
||||
# maintainers = [ lib.maintainers.bjg ];
|
||||
# platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, unzip
|
||||
@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
rev = "v${version}";
|
||||
sha256 = "0ndrnxwii8lag6vrjpwpf5n36hhv223bb46d431l9gsigbizv0hl";
|
||||
})
|
||||
] ++ stdenv.lib.optional enableDefaultMusicPack (
|
||||
] ++ lib.optional enableDefaultMusicPack (
|
||||
fetchurl {
|
||||
url = "http://www.emhsoft.com/singularity/endgame-singularity-music-007.zip";
|
||||
sha256 = "0vf2qaf66jh56728pq1zbnw50yckjz6pf6c6qw6dl7vk60kkqnpb";
|
||||
@ -29,7 +29,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
propagatedBuildInputs = with python3.pkgs; [ pygame numpy polib ];
|
||||
|
||||
# Add the music
|
||||
postInstall = stdenv.lib.optionalString enableDefaultMusicPack ''
|
||||
postInstall = lib.optionalString enableDefaultMusicPack ''
|
||||
cp -R "../endgame-singularity-music-007" \
|
||||
"$(echo $out/lib/python*/site-packages/singularity)/music"
|
||||
# ↑ we cannot glob on [...]/music, it doesn't exist yet
|
||||
@ -42,7 +42,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
A simulation of a true AI. Go from computer to computer, pursued by the
|
||||
entire world. Keep hidden, and you might have a chance
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ fgaz ];
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ fgaz ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ mkDerivation, stdenv, fetchFromGitLab, cmake, qtbase }:
|
||||
{ mkDerivation, lib, stdenv, fetchFromGitLab, cmake, qtbase }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "enyo-doom";
|
||||
@ -18,8 +18,8 @@ mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://gitlab.com/sdcofer70/enyo-doom";
|
||||
description = "Frontend for Doom engines";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.tadfisher ];
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.tadfisher ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, cmake, libGL, SDL, SDL_mixer, SDL_net, fetchFromGitHub, makeWrapper }:
|
||||
{ lib, stdenv, cmake, libGL, SDL, SDL_mixer, SDL_net, fetchFromGitHub, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eternity-engine";
|
||||
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://doomworld.com/eternity";
|
||||
description = "New school Doom port by James Haley";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ MP2E ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, freeglut, freetype
|
||||
{ lib, stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, freeglut, freetype
|
||||
, sfml, libXi
|
||||
, libXmu, libXext, libXt, libSM, libICE
|
||||
, libpng, pkgconfig, gettext, intltool
|
||||
@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
|
||||
longDescription = ''
|
||||
ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
homepage = "https://sourceforge.net/projects/extremetuxracer/";
|
||||
maintainers = with stdenv.lib.maintainers; [ ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, SDL2, libogg, libvorbis, zlib, unzip }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, SDL2, libogg, libvorbis, zlib, unzip }:
|
||||
|
||||
let
|
||||
|
||||
@ -38,9 +38,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://exult.sourceforge.net/";
|
||||
description = "A reimplementation of the Ultima VII game engine";
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.unix;
|
||||
hydraPlatforms = lib.platforms.linux; # darwin times out
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
expat curl jansson libpng libjpeg libGLU libGL libXxf86vm pcre SDL2 vim speex
|
||||
];
|
||||
|
||||
installPhase = with stdenv.lib; let
|
||||
installPhase = with lib; let
|
||||
sys = last (splitString "-" stdenv.hostPlatform.system);
|
||||
arch = head (splitString "-" stdenv.hostPlatform.system);
|
||||
in ''
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, makeWrapper, makeDesktopItem
|
||||
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem
|
||||
, alsaLib, libpulseaudio, libX11, libXcursor, libXinerama, libXrandr, libXi, libGL
|
||||
, libSM, libICE, libXext, factorio-utils
|
||||
, releaseType
|
||||
@ -13,7 +13,7 @@ assert releaseType == "alpha"
|
||||
|
||||
let
|
||||
|
||||
inherit (stdenv.lib) importJSON;
|
||||
inherit (lib) importJSON;
|
||||
|
||||
helpMsg = ''
|
||||
|
||||
@ -83,7 +83,7 @@ let
|
||||
if !needsAuth then
|
||||
fetchurl { inherit name url sha256; }
|
||||
else
|
||||
(stdenv.lib.overrideDerivation
|
||||
(lib.overrideDerivation
|
||||
(fetchurl {
|
||||
inherit name url sha256;
|
||||
curlOpts = [
|
||||
@ -168,8 +168,8 @@ let
|
||||
version 1.0 in mid 2020.
|
||||
'';
|
||||
homepage = "https://www.factorio.com/";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
maintainers = with stdenv.lib.maintainers; [ Baughn elitak erictapen priegger lukegb ];
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [ Baughn elitak erictapen priegger lukegb ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
};
|
||||
@ -180,7 +180,7 @@ let
|
||||
|
||||
buildInputs = [ makeWrapper libpulseaudio ];
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath [
|
||||
libPath = lib.makeLibraryPath [
|
||||
alsaLib
|
||||
libpulseaudio
|
||||
libX11
|
||||
|
@ -2,12 +2,12 @@
|
||||
# mods. It will eventually be replaced by a nixos-channel that will provide
|
||||
# derivations for most or all of the mods tracked through the official mod
|
||||
# manager site.
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, factorio-utils
|
||||
, allRecommendedMods ? true
|
||||
, allOptionalMods ? false
|
||||
}:
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
let
|
||||
modDrv = factorio-utils.modDrv { inherit allRecommendedMods allOptionalMods; };
|
||||
in
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file provides a top-level function that will be used by both nixpkgs and nixos
|
||||
# to generate mod directories for use at runtime by factorio.
|
||||
{ stdenv }:
|
||||
with stdenv.lib;
|
||||
{ lib, stdenv }:
|
||||
with lib;
|
||||
{
|
||||
mkModDirDrv = mods: # a list of mod derivations
|
||||
let
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fairymax";
|
||||
version = "4.8";
|
||||
@ -32,9 +32,9 @@ stdenv.mkDerivation rec {
|
||||
and board sizes up to 12x8. A Linux port exists in the
|
||||
format of a debian package.
|
||||
'';
|
||||
license = stdenv.lib.licenses.free ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.free ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
homepage = "http://home.hccnet.nl/h.g.muller/dwnldpage.html";
|
||||
};
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
|
||||
++ lib.optional stdenv.isDarwin Cocoa;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free/Libre Action Roleplaying Engine";
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, pkgconfig, cmake
|
||||
{ lib, stdenv, fetchurl, pkgconfig, cmake
|
||||
, perl, gmp, libtap, gperf
|
||||
, perlPackages, python3 }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "freecell-solver";
|
||||
|
@ -8,7 +8,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional optionals;
|
||||
inherit (lib) optional optionals;
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "freeciv";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx
|
||||
{ lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx
|
||||
, pkgconfig, intltool, fontconfig, libzip, zip, zlib }:
|
||||
|
||||
let
|
||||
@ -52,10 +52,10 @@ in stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = "http://www.freedink.org/";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.bjg ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
|
||||
maintainers = [ lib.maintainers.bjg ];
|
||||
platforms = lib.platforms.all;
|
||||
hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin
|
||||
};
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ in stdenv.mkDerivation {
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${stdenv.lib.versions.majorMinor version}/freedroidRPG-${version}.tar.gz";
|
||||
url = "ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${lib.versions.majorMinor version}/freedroidRPG-${version}.tar.gz";
|
||||
sha256 = "0n4kn38ncmcy3lrxmq8fjry6c1z50z4q1zcqfig0j4jb0dsz2va2";
|
||||
};
|
||||
|
||||
@ -15,7 +15,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [
|
||||
SDL SDL_image SDL_gfx SDL_mixer libogg libvorbis lua5_3 libjpeg libpng zlib
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||
] ++ lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Isometric 3D RPG similar to game Diablo";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perlPackages, pkgconfig, SDL, SDL_mixer, SDL_Pango, glib }:
|
||||
{ lib, stdenv, fetchurl, perlPackages, pkgconfig, SDL, SDL_mixer, SDL_Pango, glib }:
|
||||
|
||||
perlPackages.buildPerlModule {
|
||||
pname = "frozen-bubble";
|
||||
@ -19,7 +19,7 @@ perlPackages.buildPerlModule {
|
||||
|
||||
meta = {
|
||||
description = "Puzzle with Bubbles";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ puckipedia ];
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ puckipedia ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gtk2, glib, pkgconfig, libGLU, libGL, wxGTK, libX11, xorgproto
|
||||
{ lib, stdenv, fetchurl, gtk2, glib, pkgconfig, libGLU, libGL, wxGTK, libX11, xorgproto
|
||||
, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -31,7 +31,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "Cellular automata engine tuned towards the likes of Falling Sand";
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, ncurses, xmlto }:
|
||||
{ lib, stdenv, fetchurl, ncurses, xmlto }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "galaxis";
|
||||
|
@ -30,10 +30,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0w54avmbp4i4zps2rb4acmpa641s6wvwbrln4vbdhcz97fx48nzz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jam pkgconfig ] ++ stdenv.lib.optional stdenv.isDarwin cctools;
|
||||
nativeBuildInputs = [ jam pkgconfig ] ++ lib.optional stdenv.isDarwin cctools;
|
||||
|
||||
buildInputs = [ SDL SDL_mixer SDL_sound gtk2 ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ smpeg libvorbis ];
|
||||
++ lib.optionals stdenv.isDarwin [ smpeg libvorbis ];
|
||||
|
||||
buildPhase = jamenv + "jam -j$NIX_BUILD_CORES";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net} :
|
||||
{lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gav-0.9.0";
|
||||
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Remake of AV Arcade Volleyball";
|
||||
homepage = "http://gav.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, SDL, libGLU, libGL, zlib, libpng, libvorbis, libmikmod, SDL_sound } :
|
||||
{lib, stdenv, fetchurl, SDL, libGLU, libGL, zlib, libpng, libvorbis, libmikmod, SDL_sound } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gltron-0.70";
|
||||
@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://www.gltron.org/";
|
||||
description = "Game based on the movie Tron";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, premake4, bootil }:
|
||||
{ lib, stdenv, fetchFromGitHub, premake4, bootil }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gmad-unstable-2015-04-16";
|
||||
@ -6,9 +6,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Garry's Mod Addon Creator and Extractor";
|
||||
homepage = "https://github.com/garrynewman/gmad";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ lib.maintainers.abigailbuccaneer ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, python, gtk2, readline }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, glib, python, gtk2, readline }:
|
||||
|
||||
let version = "1.06.002"; in
|
||||
stdenv.mkDerivation {
|
||||
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||
|
||||
configureFlags = [ "--with-gtk" "--with--board3d" ];
|
||||
|
||||
meta = with stdenv.lib;
|
||||
meta = with lib;
|
||||
{ description = "World class backgammon application";
|
||||
homepage = "http://www.gnubg.org/";
|
||||
license = licenses.gpl3;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, flex, makeWrapper}:
|
||||
{lib, stdenv, fetchurl, flex, makeWrapper}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
@ -28,8 +28,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = "GNU Chess engine";
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnugo";
|
||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "GNU Go - A computer go player";
|
||||
homepage = "https://www.gnu.org/software/gnugo/";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, openjdk, unzip, makeWrapper }:
|
||||
{ fetchurl, lib, stdenv, openjdk, unzip, makeWrapper }:
|
||||
|
||||
let
|
||||
version = "1.4.9";
|
||||
@ -20,10 +20,10 @@ in stdenv.mkDerivation {
|
||||
done
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ stdenv.lib.maintainers.cleverca22 ];
|
||||
maintainers = [ lib.maintainers.cleverca22 ];
|
||||
description = "A graphical user interface to programs that play the board game Go and support the Go Text Protocol such as GNU Go";
|
||||
homepage = "http://gogui.sourceforge.net/";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchFromGitHub, stdenv, autoreconfHook, intltool, pkgconfig, libgnome, libgnomeui, GConf }:
|
||||
{ fetchFromGitHub, lib, stdenv, autoreconfHook, intltool, pkgconfig, libgnome, libgnomeui, GConf }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtetrinet-0.7.11";
|
||||
@ -37,8 +37,8 @@ stdenv.mkDerivation {
|
||||
that is played over the internet.
|
||||
'';
|
||||
homepage = "http://gtetrinet.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.chris-martin ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.chris-martin ];
|
||||
};
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ncurses perl fortune ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||
++ lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/typefortune" \
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchgit, stdenv, love, curl, zip }:
|
||||
{ fetchgit, lib, stdenv, love, curl, zip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "0.12.1";
|
||||
@ -32,8 +32,8 @@ stdenv.mkDerivation {
|
||||
Hawthorne's inheritance.
|
||||
'';
|
||||
homepage = "https://www.reddit.com/r/hawkthorne";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [ campadrenalin ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ campadrenalin ];
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, libX11}:
|
||||
{lib, stdenv, fetchurl, libX11}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "icbm3d-0.4";
|
||||
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://www.newbreedsoftware.com/icbm3d/";
|
||||
description = "3D vector-based clone of the atari game Missile Command";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ stdenv.mkDerivation {
|
||||
meta = with lib; {
|
||||
description = "Simple text adventure interpreter for Unix and Windows";
|
||||
homepage = "https://instead.syscall.ru/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = with lib.platforms; linux;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitLab
|
||||
, fetchzip
|
||||
, SDL2, SDL2_mixer, SDL2_net
|
||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "cute, true multiplayer platform game with bunnies";
|
||||
homepage = "https://libregames.gitlab.io/jumpnbump/";
|
||||
license = licenses.gpl2Plus;
|
||||
|
@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
sourceRoot = "source";
|
||||
|
||||
srcs = [ free-src ] ++ stdenv.lib.optional unfree_assets assets;
|
||||
srcs = [ free-src ] ++ lib.optional unfree_assets assets;
|
||||
|
||||
postUnpack = stdenv.lib.optionalString unfree_assets ''
|
||||
postUnpack = lib.optionalString unfree_assets ''
|
||||
mv data $sourceRoot
|
||||
'';
|
||||
|
||||
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cp -r data_free $out/share
|
||||
cp -r data_contrib $out/share
|
||||
${stdenv.lib.optionalString unfree_assets "cp -r data $out/share"}
|
||||
${lib.optionalString unfree_assets "cp -r data $out/share"}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, SDL, SDL_image, libGLU, libGL} :
|
||||
{lib, stdenv, fetchurl, SDL, SDL_image, libGLU, libGL} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kobodeluxe-0.5.1";
|
||||
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://olofson.net/kobodl/";
|
||||
description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, requireFile
|
||||
@ -10,7 +10,7 @@
|
||||
, useProprietaryAssets ? true
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "koboredux";
|
||||
version = "0.7.5.1";
|
||||
|
@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.ciil ];
|
||||
platforms = platforms.unix;
|
||||
hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
|
||||
hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin
|
||||
};
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ allegro ];
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.isx86_64 "--disable-asm";
|
||||
configureFlags = lib.optional stdenv.isx86_64 "--disable-asm";
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitLab, cmake, openal, pkgconfig, libogg,
|
||||
{ lib, stdenv, fetchFromGitLab, cmake, openal, pkgconfig, libogg,
|
||||
libvorbis, SDL2, makeWrapper, libpng, libjpeg_turbo, libGLU }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://osslugaru.gitlab.io";
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, openssl }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, gtk, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "macopix-1.7.4";
|
||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Mascot Constructive Pilot for X";
|
||||
homepage = "http://rosegray.sakura.ne.jp/macopix/index-e.html";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, cmake, pkg-config, git, curl, SDL2, xercesc, openal, lua, libvlc
|
||||
{ lib, stdenv, cmake, pkg-config, git, curl, SDL2, xercesc, openal, lua, libvlc
|
||||
, libjpeg, wxGTK, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng
|
||||
, fontconfig, freetype, xorg, makeWrapper, bash, which, gnome3, libGLU, glib
|
||||
, fetchFromGitHub
|
||||
@ -48,7 +48,7 @@ stdenv.mkDerivation {
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "An entertaining free (freeware and free software) and open source cross-platform 3D real-time strategy (RTS) game";
|
||||
license = licenses.gpl3;
|
||||
homepage = "http://megaglest.org/";
|
||||
|
@ -41,7 +41,7 @@ let
|
||||
categories = "Game;";
|
||||
};
|
||||
|
||||
envLibPath = stdenv.lib.makeLibraryPath [
|
||||
envLibPath = lib.makeLibraryPath [
|
||||
curl
|
||||
libpulseaudio
|
||||
systemd
|
||||
@ -50,7 +50,7 @@ let
|
||||
libXxf86vm # needed only for versions <1.13
|
||||
];
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath ([
|
||||
libPath = lib.makeLibraryPath ([
|
||||
alsaLib
|
||||
atk
|
||||
cairo
|
||||
@ -137,8 +137,8 @@ stdenv.mkDerivation rec {
|
||||
# Do not create `GPUCache` in current directory
|
||||
makeWrapper $out/opt/minecraft-launcher/minecraft-launcher $out/bin/minecraft-launcher \
|
||||
--prefix LD_LIBRARY_PATH : ${envLibPath} \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ jre ]} \
|
||||
--set JAVA_HOME ${stdenv.lib.getBin jre} \
|
||||
--prefix PATH : ${lib.makeBinPath [ jre ]} \
|
||||
--set JAVA_HOME ${lib.getBin jre} \
|
||||
--run "cd /tmp" \
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
'';
|
||||
|
@ -4,7 +4,7 @@
|
||||
, leveldb, postgresql, hiredis, libiconv, OpenGL, OpenAL ? openal, Carbon, Cocoa
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
boolToCMake = b: if b then "ON" else "OFF";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, ncurses}:
|
||||
{lib, stdenv, fetchurl, ncurses}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
baseName = "moon-buggy";
|
||||
@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = ''A simple character graphics game where you drive some kind of car across the moon's surface'';
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [stdenv.lib.maintainers.rybern];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [lib.maintainers.rybern];
|
||||
platforms = lib.platforms.linux;
|
||||
homepage = "https://www.seehuhn.de/pages/moon-buggy";
|
||||
};
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
jdk = jdk8;
|
||||
libpath = with xorg; stdenv.lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio ];
|
||||
libpath = with xorg; lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio ];
|
||||
in mkDerivation rec {
|
||||
pname = "multimc";
|
||||
version = "0.6.11";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, ncurses}:
|
||||
{lib, stdenv, fetchurl, ncurses}:
|
||||
let
|
||||
s =
|
||||
rec {
|
||||
@ -27,9 +27,9 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''Console implementation of 2048 game'';
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
homepage = "http://www.dettus.net/n2048/";
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, SDL, openal, SDL_mixer, libxml2, pkgconfig, libvorbis
|
||||
{ lib, fetchurl, stdenv, SDL, openal, SDL_mixer, libxml2, pkgconfig, libvorbis
|
||||
, libpng, libGLU, libGL, makeWrapper, zlib, freetype }:
|
||||
|
||||
let
|
||||
@ -34,9 +34,9 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "2D action/rpg space game";
|
||||
homepage = "http://www.naev.org";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = lib.platforms.linux;
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = stdenv.lib.optionalString qtMode ''
|
||||
preFixup = lib.optionalString qtMode ''
|
||||
wrapQtApp "$out/games/nethack"
|
||||
'';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL2, libGL, libpng, libjpeg, SDL2_ttf, libvorbis, gettext
|
||||
{ lib, stdenv, fetchurl, SDL2, libGL, libpng, libjpeg, SDL2_ttf, libvorbis, gettext
|
||||
, physfs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://neverball.org/";
|
||||
description = "Tilt the floor to roll a ball";
|
||||
license = "GPL";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, # required for both
|
||||
unzip, zlib, curl, libjpeg, libpng, libvorbis, libtheora
|
||||
, libogg, libmodplug
|
||||
@ -11,7 +11,7 @@
|
||||
let
|
||||
version = "2.5.2";
|
||||
|
||||
version_short = stdenv.lib.replaceChars [ "." ] [ "" ] version;
|
||||
version_short = lib.replaceChars [ "." ] [ "" ] version;
|
||||
in stdenv.mkDerivation {
|
||||
pname = "nexuiz";
|
||||
inherit version;
|
||||
@ -71,7 +71,7 @@ in stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A free fast-paced first-person shooter";
|
||||
homepage = "http://www.alientrap.org/games/nexuiz";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net }:
|
||||
{lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "njam-1.25";
|
||||
@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://trackballs.sourceforge.net/";
|
||||
description = "Cross-platform pacman-like game";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig gettext ];
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-nls";
|
||||
configureFlags = lib.optional stdenv.hostPlatform.isMusl "--disable-nls";
|
||||
|
||||
meta = with lib; {
|
||||
description = "An ncurses based sudoku game";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchpatch
|
||||
, fetchurl
|
||||
, cmake
|
||||
@ -54,12 +54,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "A complete open-source clone/rewrite of the masterpiece jump-and-run platformer Doukutsu Monogatari (also known as Cave Story)";
|
||||
license = with stdenv.lib.licenses; [
|
||||
license = with lib.licenses; [
|
||||
gpl3 # Game engine
|
||||
unfreeRedistributable # Game assets, freeware
|
||||
];
|
||||
maintainers = [ stdenv.lib.maintainers.scubed2 ];
|
||||
maintainers = [ lib.maintainers.scubed2 ];
|
||||
homepage = "https://github.com/nxengine/nxengine-evo";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net, wxGTK30 }:
|
||||
{ lib, stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net, wxGTK30 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "odamex";
|
||||
@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://odamex.net/";
|
||||
description = "A client/server port for playing old-school Doom online";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ MP2E ];
|
||||
};
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, config, fetchurl, libX11, libXext, libXinerama, libXrandr
|
||||
{ lib, stdenv, config, fetchurl, libX11, libXext, libXinerama, libXrandr
|
||||
, libXrender, fontconfig, freetype, openal, runtimeShell }:
|
||||
|
||||
let inherit (stdenv.lib) makeLibraryPath; in
|
||||
let inherit (lib) makeLibraryPath; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "oilrush";
|
||||
@ -69,9 +69,9 @@ stdenv.mkDerivation {
|
||||
of Tower Defense.
|
||||
'';
|
||||
homepage = "http://oilrush-game.com/";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
#maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.unfree;
|
||||
#maintainers = with lib.maintainers; [ astsmtl ];
|
||||
platforms = lib.platforms.linux;
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }:
|
||||
{ lib, fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "openarena";
|
||||
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
installPhase = let
|
||||
gameDir = "$out/openarena-$version";
|
||||
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
|
||||
libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ];
|
||||
libPath = lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ];
|
||||
arch = {
|
||||
"x86_64-linux" = "x86_64";
|
||||
"i386-linux" = "i386";
|
||||
@ -36,8 +36,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Crossplatform openarena client";
|
||||
homepage = "http://openarena.ws/";
|
||||
maintainers = [ stdenv.lib.maintainers.wyvie ];
|
||||
maintainers = [ lib.maintainers.wyvie ];
|
||||
platforms = [ "i386-linux" "x86_64-linux" ];
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
mv -v $out/games/openclonk $out/bin/
|
||||
'' + stdenv.lib.optionalString enableSoundtrack ''
|
||||
'' + lib.optionalString enableSoundtrack ''
|
||||
ln -sv ${soundtrack_src} $out/share/games/openclonk/Music.ocg
|
||||
'';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libX11, xorgproto, gd, SDL, SDL_image, SDL_mixer, zlib
|
||||
{ lib, stdenv, fetchurl, libX11, xorgproto, gd, SDL, SDL_image, SDL_mixer, zlib
|
||||
, libxml2, pkg-config, curl, cmake, libzip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -35,7 +35,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://openlierox.net";
|
||||
description = "Real-time game with Worms-like shooting";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
/* The reusable code, and package attributes, between OpenRA engine packages (engine.nix)
|
||||
and out-of-tree mod packages (mod.nix).
|
||||
*/
|
||||
{ stdenv, makeSetupHook, curl, unzip, dos2unix, pkgconfig, makeWrapper
|
||||
{ lib, stdenv, makeSetupHook, curl, unzip, dos2unix, pkgconfig, makeWrapper
|
||||
, lua, mono, dotnetPackages, python
|
||||
, libGL, freetype, openal, SDL2
|
||||
, zenity
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
path = makeBinPath ([ mono python ] ++ optional (zenity != null) zenity);
|
||||
|
@ -7,14 +7,14 @@
|
||||
This package could be seen as providing a set of in-tree mods,
|
||||
while the `mod.nix` pacakges provide a single out-of-tree mod.
|
||||
*/
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, packageAttrs
|
||||
, patchEngine
|
||||
, wrapLaunchGame
|
||||
, engine
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation (recursiveUpdate packageAttrs rec {
|
||||
name = "${pname}-${version}";
|
||||
|
@ -6,7 +6,7 @@
|
||||
The engine is relatively small and quick to build, so this is not much of a problem.
|
||||
Building a mod will result in a wrapper script that starts the mod inside the specified engine.
|
||||
*/
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, packageAttrs
|
||||
, patchEngine
|
||||
, wrapLaunchGame
|
||||
@ -14,7 +14,7 @@
|
||||
, engine
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
engineSourceName = engine.src.name or "engine";
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [
|
||||
sfml libGLU libGL bullet glm libmad xlibsWrapper openal SDL2 boost ffmpeg_3
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
|
||||
] ++ lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unofficial open source recreation of the classic Grand Theft Auto III game executable";
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
freetype SDL2 SDL2_image libGL zlib curl glew opusfile openal libogg
|
||||
] ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Cocoa
|
||||
];
|
||||
|
||||
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig which makeWrapper ];
|
||||
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig libxdg_basedir ]
|
||||
++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];
|
||||
++ lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];
|
||||
|
||||
prefixKey = "--prefix-dir=";
|
||||
|
||||
@ -51,23 +51,23 @@ stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
mv $out/games/ $out/bin
|
||||
|
||||
${stdenv.lib.optionalString withOpenGFX ''
|
||||
${lib.optionalString withOpenGFX ''
|
||||
cp ${opengfx}/* $out/share/games/openttd/baseset
|
||||
''}
|
||||
|
||||
mkdir -p $out/share/games/openttd/data
|
||||
|
||||
${stdenv.lib.optionalString withOpenSFX ''
|
||||
${lib.optionalString withOpenSFX ''
|
||||
cp ${opensfx}/*.{obs,cat} $out/share/games/openttd/data
|
||||
''}
|
||||
|
||||
mkdir $out/share/games/openttd/baseset/openmsx
|
||||
|
||||
${stdenv.lib.optionalString withOpenMSX ''
|
||||
${lib.optionalString withOpenMSX ''
|
||||
cp ${openmsx}/*.{obm,mid} $out/share/games/openttd/baseset/openmsx
|
||||
''}
|
||||
|
||||
${stdenv.lib.optionalString withFluidSynth ''
|
||||
${lib.optionalString withFluidSynth ''
|
||||
wrapProgram $out/bin/openttd \
|
||||
--add-flags -m \
|
||||
--add-flags extmidi:cmd=${playmidi}/bin/playmidi
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, fetchzip, SDL, SDL_net}:
|
||||
{ lib, stdenv, fetchurl, fetchzip, SDL, SDL_net }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opentyrian";
|
||||
@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
|
||||
description = ''Open source port of the game "Tyrian"'';
|
||||
homepage = "https://bitbucket.org/opentyrian/opentyrian";
|
||||
# This does not account of Tyrian data.
|
||||
# license = stdenv.lib.licenses.gpl2;
|
||||
# license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib, openssl, libyamlcpp, boost
|
||||
{lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib, openssl, libyamlcpp, boost
|
||||
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
|
||||
|
||||
let version = "1.0.0.2019.10.18"; in
|
||||
@ -19,9 +19,9 @@ stdenv.mkDerivation {
|
||||
description = "Open source clone of UFO: Enemy Unknown";
|
||||
homepage = "https://openxcom.org";
|
||||
repositories.git = "https://github.com/SupSuper/OpenXcom.git";
|
||||
maintainers = [ stdenv.lib.maintainers.cpages ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.cpages ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, bash, jre }:
|
||||
{ lib, stdenv, fetchurl, bash, jre }:
|
||||
let
|
||||
mcVersion = "1.16.4";
|
||||
buildNum = "296";
|
||||
@ -29,8 +29,8 @@ in stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "High-performance Minecraft Server";
|
||||
homepage = "https://papermc.io/";
|
||||
license = stdenv.lib.licenses.gpl3Only;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ aaronjanse ];
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ aaronjanse ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchgit, cmake, SDL2, SDL2_image, boost, libpng, SDL2_mixer
|
||||
{lib, stdenv, fetchgit, cmake, SDL2, SDL2_image, boost, libpng, SDL2_mixer
|
||||
, pkgconfig, libGLU, libGL, git, jsoncpp }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pingus";
|
||||
@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = ''A puzzle game with mechanics similar to Lemmings'';
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user