treewide: stdenv.lib -> lib
This commit is contained in:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libSM libX11 SDL libICE alsaLib gcc-unwrapped libXext ];
|
||||
|
||||
postFixup = ''
|
||||
patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} "$out/bin/atari++"
|
||||
patchelf --set-rpath ${lib.makeLibraryPath buildInputs} "$out/bin/atari++"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
||||
, unzip, zlib, SDL, readline, libGLU, libGL, libX11 }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atari800";
|
||||
version = "4.2.0";
|
||||
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, SDL2, glew, xcftools, python, pillow, makeWrapper }:
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, pkgconfig, SDL2, glew, xcftools, python, pillow, makeWrapper }:
|
||||
|
||||
let
|
||||
vasm =
|
||||
@@ -41,9 +41,9 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "https://www.retrodev.com/blastem/";
|
||||
description = "The fast and accurate Genesis emulator";
|
||||
maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ puffnfresh ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
# Makefile:140: *** aarch64 is not a supported architecture. Stop.
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, ncurses}:
|
||||
{lib, stdenv, fetchurl, ncurses}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "bsod-0.1";
|
||||
@@ -23,9 +23,9 @@ stdenv.mkDerivation {
|
||||
blue screen of death on the console. Errors and drivers causing the
|
||||
error are selected randomly from a large set of examples.";
|
||||
homepage = "http://www.vanheusden.com/bsod/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.antono ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.antono ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ let
|
||||
version = "1.1.1";
|
||||
rev = "af12e2e4da586275ba931eae8f40a2201251bf59";
|
||||
|
||||
baseUrl = "https://emux.cc/versions/${stdenv.lib.substring 0 8 rev}/CCEmuX";
|
||||
baseUrl = "https://emux.cc/versions/${lib.substring 0 8 rev}/CCEmuX";
|
||||
jar =
|
||||
if useCCTweaked
|
||||
then fetchurl {
|
||||
|
||||
@@ -32,6 +32,6 @@ in stdenv.mkDerivation ({
|
||||
homepage = "http://cdemu.sourceforge.net/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ bendlas ];
|
||||
maintainers = with lib.maintainers; [ bendlas ];
|
||||
};
|
||||
} // drvParams)
|
||||
|
||||
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://cdemu.sourceforge.net/about/vhba/";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [ bendlas ];
|
||||
maintainers = with lib.maintainers; [ bendlas ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libX11, libXt, libXext, libXaw }:
|
||||
{ lib, stdenv, fetchurl, libX11, libXt, libXext, libXaw }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "darcnes";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://web.archive.org/web/20130502171725/http://www.dridus.com/~nyef/darcnes/";
|
||||
description = "Sega Master System, Game Gear, SG-1000, NES, ColecoVision and Apple II emulator";
|
||||
# Prohibited commercial use, credit required.
|
||||
license = stdenv.lib.licenses.free;
|
||||
license = lib.licenses.free;
|
||||
platforms = [ "i686-linux" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch
|
||||
{ lib, stdenv, fetchurl, fetchpatch
|
||||
, pkgconfig, libtool, intltool
|
||||
, libXmu
|
||||
, lua
|
||||
@@ -8,7 +8,7 @@
|
||||
, gtk2, gtkglext, libglade
|
||||
, libGLU, libpcap, SDL, zziplib }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "desmume";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dlx-2012.07.08";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://www.davidviner.com/dlx.php";
|
||||
description = "DLX Simulator";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen
|
||||
, freeimage, freetype, libGLU, libGL, SDL2, alsaLib, libarchive
|
||||
, fetchpatch }:
|
||||
|
||||
@@ -30,8 +30,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
|
||||
homepage = "https://emulationstation.org";
|
||||
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.edwtjo ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, alsaLib, curl, gdk-pixbuf, glib, gtk3, libGLU, libGL,
|
||||
{ lib, stdenv, fetchurl, alsaLib, curl, gdk-pixbuf, glib, gtk3, libGLU, libGL,
|
||||
libX11, openssl_1_0_2, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook, autoPatchelfHook }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "epsxe";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, allegro, openal, libGLU, libGL, zlib, hawknl, freeglut, libX11,
|
||||
{lib, stdenv, fetchurl, allegro, openal, libGLU, libGL, zlib, hawknl, freeglut, libX11,
|
||||
libXxf86vm, libXcursor, libXpm }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -24,9 +24,9 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
homepage = "http://fakenes.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
description = "Portable Open Source NES Emulator";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, scons, zlib, SDL, lua5_1, pkgconfig}:
|
||||
{lib, stdenv, fetchFromGitHub, scons, zlib, SDL, lua5_1, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "fceux-unstable";
|
||||
@@ -32,9 +32,9 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "A Nintendo Entertainment System (NES) Emulator";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.scubed2 ];
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.scubed2 ];
|
||||
homepage = "http://www.fceux.com/";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ mkDerivation, stdenv, fetchFromGitHub, qmake, qtbase, qtdeclarative }:
|
||||
{ mkDerivation, lib, stdenv, fetchFromGitHub, qmake, qtbase, qtdeclarative }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "firebird-emu";
|
||||
@@ -30,9 +30,9 @@ mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/nspire-emus/firebird";
|
||||
description = "Third-party multi-platform emulator of the ARM-based TI-Nspire™ calculators";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = with stdenv.lib.maintainers; [ pneumaticat ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ pneumaticat ];
|
||||
# Only tested on Linux, but likely possible to build on, e.g. macOS
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
{ lib, stdenv, fetchurl, pkgconfig
|
||||
, gettext, gtk2, SDL2, zlib, glib, openal, libGLU, libGL, lua, freetype, libmpeg2, zip }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "fs-uae";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = "https://fs-uae.net";
|
||||
maintainers = with stdenv.lib; [ maintainers.AndersonTorres ];
|
||||
maintainers = with lib; [ maintainers.AndersonTorres ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, zlib, SDL, cmake }:
|
||||
{ lib, stdenv, fetchurl, zlib, SDL, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hatari";
|
||||
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://hatari.tuxfamily.org/";
|
||||
description = "Atari ST/STE/TT/Falcon emulator";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
, libicns, Carbon, Cocoa, OpenGL, OpenAL}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optionals;
|
||||
inherit (lib) optionals;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ in mkDerivation {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make -f dist.mak PTR64=${stdenv.lib.optionalString stdenv.is64bit "1"}
|
||||
make -f dist.mak PTR64=${lib.optionalString stdenv.is64bit "1"}
|
||||
mkdir -p ${dest}
|
||||
mv build/release/*/Release/mame/* ${dest}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, autoreconfHook, pkgconfig, wrapGAppsHook
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, autoreconfHook, pkgconfig, wrapGAppsHook
|
||||
, gtk2 ? null, gtk3 ? null, mednafen }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mednaffe";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, SDL2, alsaLib, gtk3
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, SDL2, alsaLib, gtk3
|
||||
, makeWrapper, libGLU, libGL, libarchive, libao, unzip, xdg_utils
|
||||
, epoxy, gdk-pixbuf, gnome3, wrapGAppsHook
|
||||
}:
|
||||
@@ -64,9 +64,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://0ldsk00l.ca/nestopia/";
|
||||
description = "NES emulator with a focus on accuracy";
|
||||
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,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, SDL2 }:
|
||||
{ lib, stdenv, fetchFromGitHub, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "oberon-risc-emu";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
mv risc $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pdewacht/oberon-risc-emu/";
|
||||
description = "Emulator for the Oberon RISC machine";
|
||||
license = licenses.isc;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig
|
||||
, python
|
||||
, alsaLib, glew, libGL, libpng
|
||||
, libogg, libtheora, libvorbis
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
# for providing support to Nixpkgs :)
|
||||
TCL_CONFIG="${tcl}/lib/";
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
meta = with lib;{
|
||||
description = "The MSX emulator that aims for perfection";
|
||||
longDescription = ''
|
||||
OpenMSX is an emulator for the MSX home computer system. Its goal is
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchFromGitHub, stdenv, cmake, qt4 }:
|
||||
{ fetchFromGitHub, lib, stdenv, cmake, qt4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "resim";
|
||||
@@ -16,5 +16,5 @@ stdenv.mkDerivation {
|
||||
cp -v vc4emul/vc4emul $out/bin/vc4emul
|
||||
'';
|
||||
|
||||
meta.license = stdenv.lib.licenses.mit;
|
||||
meta.license = lib.licenses.mit;
|
||||
}
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
let
|
||||
|
||||
d2u = stdenv.lib.replaceChars ["-"] ["_"];
|
||||
d2u = lib.replaceChars ["-"] ["_"];
|
||||
|
||||
mkLibRetroCore = { core, src, description, license, broken ? false, ... }@a:
|
||||
stdenv.lib.makeOverridable stdenv.mkDerivation ((rec {
|
||||
lib.makeOverridable stdenv.mkDerivation ((rec {
|
||||
|
||||
name = "libretro-${a.core}-${version}";
|
||||
version = "2020-03-06";
|
||||
@@ -62,7 +62,7 @@ let
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
in with stdenv.lib.licenses;
|
||||
in with lib.licenses;
|
||||
|
||||
{
|
||||
|
||||
@@ -313,8 +313,8 @@ in with stdenv.lib.licenses;
|
||||
license = gpl2;
|
||||
extraBuildInputs = [ libpcap libGLU libGL xorg.libX11 ];
|
||||
preBuild = "cd desmume/src/frontend/libretro";
|
||||
makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix"
|
||||
++ stdenv.lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0";
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix"
|
||||
++ lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0";
|
||||
};
|
||||
|
||||
desmume2015 = mkLibRetroCore rec {
|
||||
@@ -327,8 +327,8 @@ in with stdenv.lib.licenses;
|
||||
description = "libretro wrapper for desmume NDS emulator from 2015";
|
||||
license = gpl2;
|
||||
extraBuildInputs = [ libpcap libGLU libGL xorg.libX11 ];
|
||||
makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix"
|
||||
++ stdenv.lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0";
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix"
|
||||
++ lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0";
|
||||
preBuild = "cd desmume";
|
||||
};
|
||||
|
||||
@@ -435,7 +435,7 @@ in with stdenv.lib.licenses;
|
||||
license = gpl2;
|
||||
extraBuildInputs = [ libGL libGLU ];
|
||||
makefile = "Makefile";
|
||||
makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch64 [ "platform=arm64" ];
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isAarch64 [ "platform=arm64" ];
|
||||
meta.platforms = [ "aarch64-linux" "x86_64-linux" ];
|
||||
};
|
||||
|
||||
@@ -505,7 +505,7 @@ in with stdenv.lib.licenses;
|
||||
sha256 = "1jhgfys8hiipvbwq3gc48d7v6wq645d10rbr4w5m6px0fk6csshk";
|
||||
};
|
||||
description = "Port of Game and Watch to libretro";
|
||||
license = stdenv.lib.licenses.zlib;
|
||||
license = lib.licenses.zlib;
|
||||
makefile = "Makefile";
|
||||
};
|
||||
|
||||
@@ -567,7 +567,7 @@ in with stdenv.lib.licenses;
|
||||
description = "Port of MAME ~2000 to libretro";
|
||||
license = gpl2Plus;
|
||||
makefile = "Makefile";
|
||||
makeFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "IS_X86=0";
|
||||
makeFlags = lib.optional (!stdenv.hostPlatform.isx86) "IS_X86=0";
|
||||
};
|
||||
|
||||
mame2003 = mkLibRetroCore rec {
|
||||
@@ -604,7 +604,7 @@ in with stdenv.lib.licenses;
|
||||
description = "Port of MAME ~2010 to libretro";
|
||||
license = gpl2Plus;
|
||||
makefile = "Makefile";
|
||||
makeFlags = stdenv.lib.optionals stdenv.hostPlatform.isAarch64 [ "PTR64=1" "ARM_ENABLED=1" "X86_SH2DRC=0" "FORCE_DRC_C_BACKEND=1" ];
|
||||
makeFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "PTR64=1" "ARM_ENABLED=1" "X86_SH2DRC=0" "FORCE_DRC_C_BACKEND=1" ];
|
||||
};
|
||||
|
||||
mame2015 = mkLibRetroCore rec {
|
||||
@@ -778,7 +778,7 @@ in with stdenv.lib.licenses;
|
||||
license = gpl2;
|
||||
extraBuildInputs = [ libGLU libGL libpng ];
|
||||
makefile = "Makefile";
|
||||
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isAarch64 ''
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isAarch64 ''
|
||||
sed -i -e '1 i\CPUFLAGS += -DARM_FIX -DNO_ASM -DARM_ASM -DDONT_WANT_ARM_OPTIMIZATIONS -DARM64' Makefile \
|
||||
&& sed -i -e 's,CPUFLAGS :=,,g' Makefile
|
||||
'';
|
||||
@@ -810,7 +810,7 @@ in with stdenv.lib.licenses;
|
||||
SDL_CONFIG = "${SDL.dev}/bin/sdl-config";
|
||||
dontAddPrefix = true;
|
||||
configurePlatforms = [];
|
||||
makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch64 [ "platform=aarch64" ];
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isAarch64 [ "platform=aarch64" ];
|
||||
};
|
||||
|
||||
play = mkLibRetroCore {
|
||||
@@ -1091,7 +1091,7 @@ in with stdenv.lib.licenses;
|
||||
license = gpl2;
|
||||
makefile = "Makefile";
|
||||
# Disable SSE for non-x86. DYNAREC doesn't build on either Aarch64 or x86_64.
|
||||
makeFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "HAVE_SSE=0";
|
||||
makeFlags = lib.optional (!stdenv.hostPlatform.isx86) "HAVE_SSE=0";
|
||||
preBuild = "cd yabause/src/libretro";
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, which, pkgconfig, makeWrapper
|
||||
{ lib, stdenv, fetchFromGitHub, which, pkgconfig, makeWrapper
|
||||
, ffmpeg_3, libGLU, libGL, freetype, libxml2, python3
|
||||
, libobjc, AppKit, Foundation
|
||||
, alsaLib ? null
|
||||
@@ -19,7 +19,7 @@
|
||||
, libxkbcommon
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "retroarch-bare";
|
||||
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = stdenv.lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ];
|
||||
configureFlags = lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ];
|
||||
|
||||
postInstall = optionalString withVulkan ''
|
||||
wrapProgram $out/bin/retroarch --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
${stdenv.lib.concatMapStrings (exec: "ln -s ${scriptSh exec} $out/bin/kodi-${exec.name};") execs}
|
||||
${lib.concatMapStrings (exec: "ln -s ${scriptSh exec} $out/bin/kodi-${exec.name};") execs}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@@ -35,6 +35,6 @@ stdenv.mkDerivation {
|
||||
advanced (emulation) launcher for Kodi since device input is
|
||||
otherwise caught by both Kodi and the retroarch process.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
makeWrapper $out/lib/ryujinx/Ryujinx $out/bin/Ryujinx \
|
||||
--set DOTNET_ROOT "${dotnetCorePackages.netcore_3_1}" \
|
||||
--suffix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath runtimeDeps}" \
|
||||
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" \
|
||||
''${gappsWrapperArgs[@]}
|
||||
|
||||
for i in 16 32 48 64 96 128 256 512 1024; do
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkg-config, SDL2 }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stella";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
meta = with lib;{
|
||||
description = "An open-source Atari 2600 VCS emulator";
|
||||
longDescription = ''
|
||||
Stella is a multi-platform Atari 2600 VCS emulator released under
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, pkgconfig, gtk2, alsaLib, SDL}:
|
||||
{lib, stdenv, fetchurl, pkgconfig, gtk2, alsaLib, SDL}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "uae-0.8.29";
|
||||
@@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Ultimate/Unix/Unusable Amiga Emulator";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
homepage = "http://web.archive.org/web/20130901222855/http://www.amigaemulator.org/";
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, cairo
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
@@ -46,12 +46,12 @@ stdenv.mkDerivation rec {
|
||||
"-DENABLE_SDL='true'"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A merge of the original Visual Boy Advance forks";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ lassulus ];
|
||||
homepage = "https://vba-m.com/";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU, libGL, libXaw
|
||||
{ lib, stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU, libGL, libXaw
|
||||
, pkgconfig, gtk2, SDL, autoreconfHook, makeDesktopItem
|
||||
}:
|
||||
|
||||
@@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Commodore 64, 128 and other emulators";
|
||||
homepage = "http://www.viceteam.org";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -148,8 +148,8 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
|
||||
meta = {
|
||||
inherit version platforms;
|
||||
homepage = "https://www.winehq.org/";
|
||||
license = with stdenv.lib.licenses; [ lgpl21Plus ];
|
||||
license = with lib.licenses; [ lgpl21Plus ];
|
||||
description = "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix";
|
||||
maintainers = with stdenv.lib.maintainers; [ avnik raskin bendlas ];
|
||||
maintainers = with lib.maintainers; [ avnik raskin bendlas ];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{ stdenv, callPackage, wineUnstable }:
|
||||
{ lib, stdenv, callPackage, wineUnstable }:
|
||||
|
||||
with callPackage ./util.nix {};
|
||||
|
||||
let patch = (callPackage ./sources.nix {}).staging;
|
||||
build-inputs = pkgNames: extra:
|
||||
(mkBuildInputs wineUnstable.pkgArches pkgNames) ++ extra;
|
||||
in assert stdenv.lib.getVersion wineUnstable == patch.version;
|
||||
in assert lib.getVersion wineUnstable == patch.version;
|
||||
|
||||
(stdenv.lib.overrideDerivation wineUnstable (self: {
|
||||
(lib.overrideDerivation wineUnstable (self: {
|
||||
buildInputs = build-inputs [ "perl" "util-linux" "autoconf" "gitMinimal" ] self.buildInputs;
|
||||
|
||||
name = "${self.name}-staging";
|
||||
@@ -18,7 +18,7 @@ in assert stdenv.lib.getVersion wineUnstable == patch.version;
|
||||
chmod +w patches
|
||||
cd patches
|
||||
patchShebangs gitapply.sh
|
||||
./patchinstall.sh DESTDIR="$PWD/.." --all ${stdenv.lib.concatMapStringsSep " " (ps: "-W ${ps}") patch.disabledPatchsets}
|
||||
./patchinstall.sh DESTDIR="$PWD/.." --all ${lib.concatMapStringsSep " " (ps: "-W ${ps}") patch.disabledPatchsets}
|
||||
cd ..
|
||||
'';
|
||||
})) // {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, callPackage, wine, perl, which, coreutils, zenity, curl
|
||||
{ lib, stdenv, callPackage, wine, perl, which, coreutils, zenity, curl
|
||||
, cabextract, unzip, p7zip, gnused, gnugrep, bash } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ perl which ];
|
||||
|
||||
# coreutils is for sha1sum
|
||||
pathAdd = stdenv.lib.concatMapStringsSep ":" (x: x + "/bin")
|
||||
(stdenv.lib.filter (x: x != null)
|
||||
pathAdd = lib.concatMapStringsSep ":" (x: x + "/bin")
|
||||
(lib.filter (x: x != null)
|
||||
[ wine perl which coreutils zenity curl cabextract unzip p7zip gnused gnugrep bash ]);
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "A script to install DLLs needed to work around problems in Wine";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
license = lib.licenses.lgpl21;
|
||||
homepage = "https://github.com/Winetricks/winetricks";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU, libGL
|
||||
{ lib, stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU, libGL
|
||||
, wafHook }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "GUI for the Mupen64Plus 2.0 emulator";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
homepage = "https://bitbucket.org/auria/wxmupen64plus/wiki/Home";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, libXaw, libX11, libXext
|
||||
{ lib, stdenv, fetchurl, pkgconfig, glib, libXaw, libX11, libXext
|
||||
, libDSKSupport ? true, libdsk
|
||||
, motifSupport ? false, lesstif
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20070122";
|
||||
pname = "xcpc";
|
||||
|
||||
@@ -20,15 +20,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
|
||||
buildInputs = [ qtbase qtwebengine qttools boost173 catch2 fmt lz4 nlohmann_json rapidjson zlib zstd SDL2 udev libusb1 libpulseaudio alsaLib sndio ecasound libjack2 libzip ffmpeg ]
|
||||
++ stdenv.lib.optionals useVulkan [ vulkan-loader vulkan-headers ];
|
||||
++ lib.optionals useVulkan [ vulkan-loader vulkan-headers ];
|
||||
cmakeFlags = [ "-DENABLE_QT_TRANSLATION=ON" "-DYUZU_USE_QT_WEB_ENGINE=ON" "-DUSE_DISCORD_PRESENCE=ON" ]
|
||||
++ stdenv.lib.optionals (!useVulkan) [ "-DENABLE_VULKAN=No" ];
|
||||
++ lib.optionals (!useVulkan) [ "-DENABLE_VULKAN=No" ];
|
||||
|
||||
# Trick the configure system. This prevents a check for submodule directories.
|
||||
preConfigure = "rm .gitmodules";
|
||||
|
||||
# Fix vulkan detection
|
||||
postFixup = stdenv.lib.optionals useVulkan ''
|
||||
postFixup = lib.optionals useVulkan ''
|
||||
wrapProgram $out/bin/yuzu --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib
|
||||
wrapProgram $out/bin/yuzu-cmd --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib
|
||||
'';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, nasm, SDL, zlib, libpng, ncurses, libGLU, libGL
|
||||
{ lib, stdenv, fetchFromGitHub, nasm, SDL, zlib, libpng, ncurses, libGLU, libGL
|
||||
, makeDesktopItem }:
|
||||
|
||||
let
|
||||
@@ -55,8 +55,8 @@ in stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "A Super Nintendo Entertainment System Emulator";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
homepage = "http://www.zsnes.com";
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user