Merge pull request #198552 from wegank/wxgtk-games

authored by

Sandro and committed by
GitHub
2ca694f4 7abad9f4

+419 -112
+10 -4
pkgs/applications/audio/sooperlooper/default.nix
··· 1 - { lib, stdenv 2 , fetchFromGitHub 3 , autoreconfHook 4 , pkg-config ··· 8 , libxml2 9 , libjack2 10 , libsndfile 11 - , wxGTK30 12 , libsigcxx 13 , libsamplerate 14 , rubberband ··· 34 ./autogen.sh 35 ''; 36 37 - nativeBuildInputs = [ autoreconfHook pkg-config which libtool ]; 38 39 buildInputs = [ 40 liblo 41 libxml2 42 libjack2 43 libsndfile 44 - wxGTK30 45 libsigcxx 46 libsamplerate 47 rubberband
··· 1 + { lib 2 + , stdenv 3 , fetchFromGitHub 4 , autoreconfHook 5 , pkg-config ··· 9 , libxml2 10 , libjack2 11 , libsndfile 12 + , wxGTK30-gtk3 13 , libsigcxx 14 , libsamplerate 15 , rubberband ··· 35 ./autogen.sh 36 ''; 37 38 + nativeBuildInputs = [ 39 + autoreconfHook 40 + pkg-config 41 + which 42 + libtool 43 + ]; 44 45 buildInputs = [ 46 liblo 47 libxml2 48 libjack2 49 libsndfile 50 + wxGTK30-gtk3 51 libsigcxx 52 libsamplerate 53 rubberband
+18 -5
pkgs/applications/backup/urbackup-client/default.nix
··· 1 - { stdenv, lib, fetchzip, wxGTK30, zlib, zstd }: 2 3 stdenv.mkDerivation rec { 4 pname = "urbackup-client"; 5 - version = "2.4.11"; 6 7 src = fetchzip { 8 url = "https://hndl.urbackup.org/Client/${version}/urbackup-client-${version}.tar.gz"; 9 - sha256 = "0cciy9v1pxj9qaklpbhp2d5rdbkmfm74vhpqx6b4phww0f10wvzh"; 10 }; 11 12 - configureFlags = [ "--enable-embedded-cryptopp" ]; 13 - buildInputs = [ wxGTK30 zlib zstd ]; 14 15 meta = with lib; { 16 description = "An easy to setup Open Source client/server backup system";
··· 1 + { stdenv 2 + , lib 3 + , fetchzip 4 + , wxGTK32 5 + , zlib 6 + , zstd 7 + }: 8 9 stdenv.mkDerivation rec { 10 pname = "urbackup-client"; 11 + version = "2.5.20"; 12 13 src = fetchzip { 14 url = "https://hndl.urbackup.org/Client/${version}/urbackup-client-${version}.tar.gz"; 15 + sha256 = "sha256-i1g3xUhspqQRfIUhy6STOWNuncK3tMFocJw652r1X9g="; 16 }; 17 18 + buildInputs = [ 19 + wxGTK32 20 + zlib 21 + zstd 22 + ]; 23 + 24 + configureFlags = [ 25 + "--enable-embedded-cryptopp" 26 + ]; 27 28 meta = with lib; { 29 description = "An easy to setup Open Source client/server backup system";
+24 -20
pkgs/applications/emulators/dolphin-emu/default.nix
··· 6 , bluez 7 , ffmpeg 8 , libao 9 - , gtk2 10 , glib 11 , libGLU 12 , libGL ··· 21 , fetchFromGitHub 22 , libusb1 23 , libevdev 24 - , wxGTK30 25 , soundtouch 26 , miniupnpc 27 , mbedtls ··· 43 }; 44 45 patches = [ 46 - # Fix build with soundtouch 2.1.2 47 (fetchpatch { 48 - url = "https://src.fedoraproject.org/rpms/dolphin-emu/raw/a1b91fdf94981e12c8889a02cba0ec2267d0f303/f/dolphin-emu-5.0-soundtouch-exception-fix.patch"; 49 - name = "dolphin-emu-5.0-soundtouch-exception-fix.patch"; 50 - sha256 = "0yd3l46nja5qiknnl30ryad98f3v8911jwnr67hn61dzx2kwbbaw"; 51 }) 52 - # Fix build with gcc 8 53 (fetchpatch { 54 - url = "https://salsa.debian.org/games-team/dolphin-emu/raw/9b7b4aeac1b60dcf28bdcafbed6bc498b2aeb0ad/debian/patches/03_gcc8.patch"; 55 name = "03_gcc8.patch"; 56 - sha256 = "1da95gb8c95kd5cjhdvg19cv2z863lj3va5gx3bqc7g8r36glqxr"; 57 }) 58 ]; 59 60 - postPatch = '' 61 - substituteInPlace Source/Core/VideoBackends/OGL/RasterFont.cpp \ 62 - --replace " CHAR_WIDTH " " CHARWIDTH " 63 - ''; 64 - 65 cmakeFlags = [ 66 - "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" 67 - "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include" 68 - "-DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0" 69 "-DENABLE_LTO=True" 70 ]; 71 ··· 80 libao 81 libGLU 82 libGL 83 - gtk2 84 glib 85 gettext 86 libpthreadstubs ··· 97 portaudio 98 libusb1 99 libpulseaudio 100 - wxGTK30 101 soundtouch 102 miniupnpc 103 mbedtls ··· 117 maintainers = with maintainers; [ MP2E ashkitten ]; 118 # x86_32 is an unsupported platform. 119 # Enable generic build if you really want a JIT-less binary. 120 - platforms = [ "x86_64-linux" ]; 121 }; 122 }
··· 6 , bluez 7 , ffmpeg 8 , libao 9 + , gtk3 10 , glib 11 , libGLU 12 , libGL ··· 21 , fetchFromGitHub 22 , libusb1 23 , libevdev 24 + , wxGTK30-gtk3 25 , soundtouch 26 , miniupnpc 27 , mbedtls ··· 43 }; 44 45 patches = [ 46 + # Fix FTBFS with glibc 2.26 47 (fetchpatch { 48 + url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/02_glibc-2.26.patch"; 49 + name = "02_glibc-2.26.patch"; 50 + sha256 = "sha256-LBXT3rf5klwmX9YQXt4/iv06GghsWZprNhLGYlKiDqk="; 51 }) 52 + # Fix FTBFS with GCC 8 53 (fetchpatch { 54 + url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/03_gcc8.patch"; 55 name = "03_gcc8.patch"; 56 + sha256 = "sha256-uWP6zMjoHYbX6K+oPSQdBn2xWQpvNyhZabMkhtYrSbU="; 57 + }) 58 + # Fix FTBFS with SoundTouch 2.1.2 59 + (fetchpatch { 60 + url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/05_soundtouch-2.1.2.patch"; 61 + name = "05_soundtouch-2.1.2.patch"; 62 + sha256 = "sha256-Y7CNM6GQC9GRhlOBLZlxkIpj1CFhIwA5L8lGXur/bwY="; 63 + }) 64 + # Use GTK+3 wxWidgets backend 65 + (fetchpatch { 66 + url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/06_gtk3.patch"; 67 + name = "06_gtk3.patch"; 68 + sha256 = "sha256-pu5Q0+8kNwmpf2DoXCXHFqxF0EGTnFXJipkBz1Vh2cs="; 69 }) 70 ]; 71 72 cmakeFlags = [ 73 "-DENABLE_LTO=True" 74 ]; 75 ··· 84 libao 85 libGLU 86 libGL 87 + gtk3 88 glib 89 gettext 90 libpthreadstubs ··· 101 portaudio 102 libusb1 103 libpulseaudio 104 + wxGTK30-gtk3 105 soundtouch 106 miniupnpc 107 mbedtls ··· 121 maintainers = with maintainers; [ MP2E ashkitten ]; 122 # x86_32 is an unsupported platform. 123 # Enable generic build if you really want a JIT-less binary. 124 + platforms = [ "x86_64-linux" "aarch64-linux" ]; 125 }; 126 }
+24 -10
pkgs/applications/misc/flamerobin/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, wxGTK30, boost, firebird }: 2 3 stdenv.mkDerivation rec { 4 - version = "0.9.3.1"; 5 pname = "flamerobin"; 6 7 src = fetchFromGitHub { 8 owner = "mariuz"; 9 repo = "flamerobin"; 10 rev = version; 11 - sha256 = "1wwcsca01hpgi9z5flvbdhs9zv7jvahnbn97j6ymy0hdyb8lv6si"; 12 }; 13 14 - enableParallelBuilding = true; 15 16 - buildInputs = [ wxGTK30 boost firebird ]; 17 18 - preBuild = '' 19 - sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile 20 - ''; 21 22 - configureFlags = [ 23 - "--disable-debug" 24 ]; 25 26 meta = with lib; {
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , cmake 6 + , wxGTK32 7 + , boost 8 + , firebird 9 + }: 10 11 stdenv.mkDerivation rec { 12 + version = "0.9.3.12"; 13 pname = "flamerobin"; 14 15 src = fetchFromGitHub { 16 owner = "mariuz"; 17 repo = "flamerobin"; 18 rev = version; 19 + sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA="; 20 }; 21 22 + patches = [ 23 + # rely on compiler command line for __int128 and std::decimal::decimal128 24 + (fetchpatch { 25 + url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch"; 26 + sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM="; 27 + }) 28 + ]; 29 30 + enableParallelBuilding = true; 31 32 + nativeBuildInputs = [ cmake ]; 33 34 + buildInputs = [ 35 + wxGTK32 36 + boost 37 + firebird 38 ]; 39 40 meta = with lib; {
+33 -10
pkgs/applications/misc/lenmus/default.nix
··· 1 - { lib, stdenv, pkg-config, fetchFromGitHub, fetchpatch 2 - , cmake, boost 3 - , portmidi, sqlite 4 - , freetype, libpng, pngpp, zlib 5 - , wxGTK30, wxsqlite3 6 }: 7 8 stdenv.mkDerivation rec { ··· 25 url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch"; 26 sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn"; 27 }) 28 ]; 29 30 - nativeBuildInputs = [ cmake pkg-config ]; 31 buildInputs = [ 32 boost 33 - portmidi sqlite 34 - freetype libpng pngpp zlib 35 - wxGTK30 wxsqlite3 36 ]; 37 38 meta = with lib; { ··· 46 license = licenses.gpl3Plus; 47 maintainers = with maintainers; [ ramkromberg ]; 48 platforms = with platforms; linux; 49 - broken = stdenv.hostPlatform.isAarch64; 50 }; 51 }
··· 1 + { lib 2 + , stdenv 3 + , pkg-config 4 + , fetchFromGitHub 5 + , fetchpatch 6 + , cmake 7 + , boost 8 + , portmidi 9 + , sqlite 10 + , freetype 11 + , libpng 12 + , pngpp 13 + , zlib 14 + , wxGTK30-gtk3 15 + , wxsqlite3 16 }: 17 18 stdenv.mkDerivation rec { ··· 35 url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch"; 36 sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn"; 37 }) 38 + (fetchpatch { 39 + url = "https://github.com/lenmus/lenmus/commit/37ee8ac9c8faff65a14e8f7ed2bc22e6dc48d91f.patch"; 40 + includes = [ "src/app/lenmus_midi_wizard.cpp" ]; 41 + sha256 = "sha256-nlT6ZbSCIXUk2Ufv/SDn2A0Rt+s/7m+7l9HOoQmaIhc="; 42 + }) 43 ]; 44 45 + nativeBuildInputs = [ 46 + cmake 47 + pkg-config 48 + ]; 49 + 50 buildInputs = [ 51 boost 52 + portmidi 53 + sqlite 54 + freetype 55 + libpng 56 + pngpp 57 + zlib 58 + wxGTK30-gtk3 59 + wxsqlite3 60 ]; 61 62 meta = with lib; { ··· 70 license = licenses.gpl3Plus; 71 maintainers = with maintainers; [ ramkromberg ]; 72 platforms = with platforms; linux; 73 }; 74 }
+1 -1
pkgs/applications/misc/lutris/fhsenv.nix
··· 30 # DGen // TODO: libarchive is broken 31 32 # Dolphin 33 - bluez ffmpeg gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm 34 wavpack orc nettle gmp pcre vulkan-loader 35 36 # DOSBox
··· 30 # DGen // TODO: libarchive is broken 31 32 # Dolphin 33 + bluez ffmpeg gettext portaudio wxGTK30-gtk3 miniupnpc mbedtls lzo sfml gsm 34 wavpack orc nettle gmp pcre vulkan-loader 35 36 # DOSBox
+40 -9
pkgs/applications/misc/pwsafe/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 2 - , cmake, pkg-config, zip, gettext, perl 3 - , wxGTK30, libXext, libXi, libXt, libXtst, xercesc 4 - , qrencode, libuuid, libyubikey, yubikey-personalization 5 - , curl, openssl, file, gitUpdater 6 }: 7 8 stdenv.mkDerivation rec { ··· 17 }; 18 19 nativeBuildInputs = [ 20 - cmake gettext perl pkg-config zip 21 ]; 22 buildInputs = [ 23 - libXext libXi libXt libXtst wxGTK30 24 - curl qrencode libuuid openssl xercesc 25 - libyubikey yubikey-personalization 26 file 27 ]; 28
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , zip 7 + , gettext 8 + , perl 9 + , wxGTK30-gtk3 10 + , libXext 11 + , libXi 12 + , libXt 13 + , libXtst 14 + , xercesc 15 + , qrencode 16 + , libuuid 17 + , libyubikey 18 + , yubikey-personalization 19 + , curl 20 + , openssl 21 + , file 22 + , gitUpdater 23 }: 24 25 stdenv.mkDerivation rec { ··· 34 }; 35 36 nativeBuildInputs = [ 37 + cmake 38 + gettext 39 + perl 40 + pkg-config 41 + zip 42 ]; 43 + 44 buildInputs = [ 45 + libXext 46 + libXi 47 + libXt 48 + libXtst 49 + wxGTK30-gtk3 50 + curl 51 + qrencode 52 + libuuid 53 + openssl 54 + xercesc 55 + libyubikey 56 + yubikey-personalization 57 file 58 ]; 59
+17 -5
pkgs/applications/misc/xchm/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, chmlib }: 2 3 stdenv.mkDerivation rec { 4 pname = "xchm"; ··· 11 sha256 = "sha256-8HQaXxZQwfBaWc22GivKri1vZEnZ23anSfriCvmLHHw="; 12 }; 13 14 - nativeBuildInputs = [ autoreconfHook ]; 15 - buildInputs = [ wxGTK30 chmlib ]; 16 17 - configureFlags = [ "--with-wx-prefix=${wxGTK30}" ]; 18 19 preConfigure = '' 20 - export LDFLAGS="$LDFLAGS $(${wxGTK30}/bin/wx-config --libs | sed -e s@-pthread@@) -lwx_gtk2u_aui-3.0" 21 ''; 22 23 meta = with lib; {
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , wxGTK32 6 + , chmlib 7 + }: 8 9 stdenv.mkDerivation rec { 10 pname = "xchm"; ··· 17 sha256 = "sha256-8HQaXxZQwfBaWc22GivKri1vZEnZ23anSfriCvmLHHw="; 18 }; 19 20 + nativeBuildInputs = [ 21 + autoreconfHook 22 + ]; 23 24 + buildInputs = [ 25 + wxGTK32 26 + chmlib 27 + ]; 28 + 29 + configureFlags = [ "--with-wx-prefix=${wxGTK32}" ]; 30 31 preConfigure = '' 32 + export LDFLAGS="$LDFLAGS $(${wxGTK32}/bin/wx-config --libs | sed -e s@-pthread@@) -lwx_gtk3u_aui-3.2" 33 ''; 34 35 meta = with lib; {
+42 -10
pkgs/applications/science/misc/boinc/default.nix
··· 1 - { fetchFromGitHub, lib, stdenv, autoconf, automake, pkg-config, m4, curl, 2 - libGLU, libGL, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK30, xcbutil, 3 - sqlite, gtk2, patchelf, libXScrnSaver, libnotify, libX11, libxcb }: 4 5 let 6 majorVersion = "7.20"; ··· 22 nativeBuildInputs = [ libtool automake autoconf m4 pkg-config ]; 23 24 buildInputs = [ 25 - curl libGLU libGL libXmu libXi freeglut libjpeg wxGTK30 sqlite gtk2 libXScrnSaver 26 - libnotify patchelf libX11 libxcb xcbutil 27 ]; 28 29 NIX_LDFLAGS = "-lX11"; ··· 45 description = "Free software for distributed and grid computing"; 46 homepage = "https://boinc.berkeley.edu/"; 47 license = licenses.lgpl2Plus; 48 - platforms = platforms.linux; # arbitrary choice 49 - # checking for gcc options needed to detect all undeclared functions... cannot detect 50 - # configure: error: in `/build/boinc-7.18.1-src': 51 - # configure: error: cannot make gcc report undeclared builtins 52 - broken = stdenv.isAarch64; 53 maintainers = with maintainers; [ Luflosi ]; 54 }; 55 }
··· 1 + { fetchFromGitHub 2 + , lib 3 + , stdenv 4 + , autoconf 5 + , automake 6 + , pkg-config 7 + , m4 8 + , curl 9 + , libGLU 10 + , libGL 11 + , libXmu 12 + , libXi 13 + , freeglut 14 + , libjpeg 15 + , libtool 16 + , wxGTK32 17 + , xcbutil 18 + , sqlite 19 + , gtk3 20 + , patchelf 21 + , libXScrnSaver 22 + , libnotify 23 + , libX11 24 + , libxcb 25 + }: 26 27 let 28 majorVersion = "7.20"; ··· 44 nativeBuildInputs = [ libtool automake autoconf m4 pkg-config ]; 45 46 buildInputs = [ 47 + curl 48 + libGLU 49 + libGL 50 + libXmu 51 + libXi 52 + freeglut 53 + libjpeg 54 + wxGTK32 55 + sqlite 56 + gtk3 57 + libXScrnSaver 58 + libnotify 59 + patchelf 60 + libX11 61 + libxcb 62 + xcbutil 63 ]; 64 65 NIX_LDFLAGS = "-lX11"; ··· 81 description = "Free software for distributed and grid computing"; 82 homepage = "https://boinc.berkeley.edu/"; 83 license = licenses.lgpl2Plus; 84 + platforms = platforms.linux; 85 maintainers = with maintainers; [ Luflosi ]; 86 }; 87 }
+25 -4
pkgs/applications/science/misc/fityk/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 2 - , xylib, readline, gnuplot, swig3 }: 3 4 stdenv.mkDerivation rec { 5 pname = "fityk"; ··· 13 }; 14 15 nativeBuildInputs = [ autoreconfHook ]; 16 - buildInputs = [ wxGTK30 boost lua zlib bzip2 xylib readline 17 - gnuplot swig3 ]; 18 19 NIX_CFLAGS_COMPILE = [ 20 "-std=c++11"
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , wxGTK32 6 + , boost 7 + , lua 8 + , zlib 9 + , bzip2 10 + , xylib 11 + , readline 12 + , gnuplot 13 + , swig3 14 + }: 15 16 stdenv.mkDerivation rec { 17 pname = "fityk"; ··· 25 }; 26 27 nativeBuildInputs = [ autoreconfHook ]; 28 + buildInputs = [ 29 + wxGTK32 30 + boost 31 + lua 32 + zlib 33 + bzip2 34 + xylib 35 + readline 36 + gnuplot 37 + swig3 38 + ]; 39 40 NIX_CFLAGS_COMPILE = [ 41 "-std=c++11"
+14 -2
pkgs/development/libraries/xylib/default.nix
··· 1 - { lib, stdenv, fetchurl, boost, zlib, bzip2, wxGTK30 }: 2 3 stdenv.mkDerivation rec { 4 pname = "xylib"; ··· 9 sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn"; 10 }; 11 12 - buildInputs = [ boost zlib bzip2 wxGTK30 ]; 13 14 meta = with lib; { 15 description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , boost 5 + , zlib 6 + , bzip2 7 + , wxGTK32 8 + }: 9 10 stdenv.mkDerivation rec { 11 pname = "xylib"; ··· 16 sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn"; 17 }; 18 19 + buildInputs = [ 20 + boost 21 + zlib 22 + bzip2 23 + wxGTK32 24 + ]; 25 26 meta = with lib; { 27 description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
+37 -5
pkgs/games/odamex/default.nix
··· 1 - { lib, stdenv, cmake, fetchurl, pkg-config, SDL, SDL_mixer, SDL_net, wxGTK30 }: 2 3 stdenv.mkDerivation rec { 4 pname = "odamex"; ··· 9 sha256 = "sha256-WBqO5fWzemw1kYlY192v0nnZkbIEVuWmjWYMy+1ODPQ="; 10 }; 11 12 - nativeBuildInputs = [ cmake pkg-config ]; 13 - buildInputs = [ SDL SDL_mixer SDL_net wxGTK30 ]; 14 15 meta = { 16 homepage = "http://odamex.net/"; 17 description = "A client/server port for playing old-school Doom online"; 18 - license = lib.licenses.gpl2; 19 - platforms = lib.platforms.linux; 20 maintainers = with lib.maintainers; [ MP2E ]; 21 }; 22 }
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , cmake 5 + , pkg-config 6 + , makeWrapper 7 + , SDL 8 + , SDL_mixer 9 + , SDL_net 10 + , wxGTK32 11 + }: 12 13 stdenv.mkDerivation rec { 14 pname = "odamex"; ··· 19 sha256 = "sha256-WBqO5fWzemw1kYlY192v0nnZkbIEVuWmjWYMy+1ODPQ="; 20 }; 21 22 + nativeBuildInputs = [ 23 + cmake 24 + pkg-config 25 + makeWrapper 26 + ]; 27 + 28 + buildInputs = [ 29 + SDL 30 + SDL_mixer 31 + SDL_net 32 + wxGTK32 33 + ]; 34 + 35 + installPhase = '' 36 + runHook preInstall 37 + '' + (if stdenv.isDarwin then '' 38 + mkdir -p $out/{Applications,bin} 39 + mv odalaunch/odalaunch.app $out/Applications 40 + makeWrapper $out/{Applications/odalaunch.app/Contents/MacOS,bin}/odalaunch 41 + '' else '' 42 + make install 43 + '') + '' 44 + runHook postInstall 45 + ''; 46 47 meta = { 48 homepage = "http://odamex.net/"; 49 description = "A client/server port for playing old-school Doom online"; 50 + license = lib.licenses.gpl2Only; 51 + platforms = lib.platforms.unix; 52 maintainers = with lib.maintainers; [ MP2E ]; 53 }; 54 }
+58 -14
pkgs/games/spring/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, xz, boost, libdevil, zlib, p7zip 2 - , openal, libvorbis, glew, freetype, xorg, SDL2, libGLU, libGL 3 - , asciidoc, docbook_xsl, docbook_xsl_ns, curl, makeWrapper 4 - , jdk ? null, python ? null, systemd, libunwind, which, minizip 5 , withAI ? true # support for AI Interfaces and Skirmish AIs 6 }: 7 ··· 36 echo "${version} maintenance" > VERSION 37 ''; 38 39 - cmakeFlags = ["-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON" 40 - "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON" 41 - "-DPREFER_STATIC_LIBS:BOOL=OFF"]; 42 43 nativeBuildInputs = [ cmake makeWrapper docbook_xsl docbook_xsl_ns asciidoc ]; 44 - buildInputs = [ xz boost libdevil zlib p7zip openal libvorbis freetype SDL2 45 - xorg.libX11 xorg.libXcursor libGLU libGL glew curl 46 - systemd libunwind which minizip ] 47 - ++ lib.optional withAI jdk 48 - ++ lib.optional withAI python; 49 50 NIX_CFLAGS_COMPILE = "-fpermissive"; # GL header minor incompatibility 51 ··· 57 meta = with lib; { 58 homepage = "https://springrts.com/"; 59 description = "A powerful real-time strategy (RTS) game engine"; 60 - license = licenses.gpl2; 61 maintainers = with maintainers; [ qknight domenkozar sorki ]; 62 - platforms = platforms.linux; 63 }; 64 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , xz 6 + , boost 7 + , libdevil 8 + , zlib 9 + , p7zip 10 + , openal 11 + , libvorbis 12 + , glew 13 + , freetype 14 + , xorg 15 + , SDL2 16 + , libGLU 17 + , libGL 18 + , asciidoc 19 + , docbook_xsl 20 + , docbook_xsl_ns 21 + , curl 22 + , makeWrapper 23 + , jdk 24 + , python 25 + , systemd 26 + , libunwind 27 + , which 28 + , minizip 29 , withAI ? true # support for AI Interfaces and Skirmish AIs 30 }: 31 ··· 60 echo "${version} maintenance" > VERSION 61 ''; 62 63 + cmakeFlags = [ 64 + "-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON" 65 + "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON" 66 + "-DPREFER_STATIC_LIBS:BOOL=OFF" 67 + ]; 68 69 nativeBuildInputs = [ cmake makeWrapper docbook_xsl docbook_xsl_ns asciidoc ]; 70 + buildInputs = [ 71 + xz 72 + boost 73 + libdevil 74 + zlib 75 + p7zip 76 + openal 77 + libvorbis 78 + freetype 79 + SDL2 80 + xorg.libX11 81 + xorg.libXcursor 82 + libGLU 83 + libGL 84 + glew 85 + curl 86 + systemd 87 + libunwind 88 + which 89 + minizip 90 + ] 91 + ++ lib.optional withAI jdk 92 + ++ lib.optional withAI python; 93 94 NIX_CFLAGS_COMPILE = "-fpermissive"; # GL header minor incompatibility 95 ··· 101 meta = with lib; { 102 homepage = "https://springrts.com/"; 103 description = "A powerful real-time strategy (RTS) game engine"; 104 + license = licenses.gpl2Plus; 105 maintainers = with maintainers; [ qknight domenkozar sorki ]; 106 + platforms = [ "i686-linux" "x86_64-linux" ]; 107 }; 108 }
+42 -8
pkgs/games/spring/springlobby.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, cmake, wxGTK30, openal, pkg-config, curl, libtorrent-rasterbar 2 - , libpng, libX11, gettext, boost, libnotify, gtk2, doxygen, spring 3 - , makeWrapper, glib, minizip, alure, pcre, jsoncpp }: 4 5 stdenv.mkDerivation rec { 6 pname = "springlobby"; ··· 13 14 nativeBuildInputs = [ cmake pkg-config gettext doxygen makeWrapper ]; 15 buildInputs = [ 16 - wxGTK30 openal curl libtorrent-rasterbar pcre jsoncpp 17 - boost libpng libX11 libnotify gtk2 glib minizip alure 18 ]; 19 20 patches = [ ··· 33 ''; 34 35 meta = with lib; { 36 - homepage = "https://springlobby.info/"; 37 description = "Cross-platform lobby client for the Spring RTS project"; 38 - license = licenses.gpl2; 39 maintainers = with maintainers; [ qknight domenkozar ]; 40 - platforms = platforms.linux; 41 }; 42 }
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , fetchpatch 5 + , cmake 6 + , wxGTK30 7 + , openal 8 + , pkg-config 9 + , curl 10 + , libtorrent-rasterbar 11 + , libpng 12 + , libX11 13 + , gettext 14 + , boost 15 + , libnotify 16 + , gtk2 17 + , doxygen 18 + , spring 19 + , makeWrapper 20 + , glib 21 + , minizip 22 + , alure 23 + , pcre 24 + , jsoncpp 25 + }: 26 27 stdenv.mkDerivation rec { 28 pname = "springlobby"; ··· 35 36 nativeBuildInputs = [ cmake pkg-config gettext doxygen makeWrapper ]; 37 buildInputs = [ 38 + wxGTK30 39 + openal 40 + curl 41 + libtorrent-rasterbar 42 + pcre 43 + jsoncpp 44 + boost 45 + libpng 46 + libX11 47 + libnotify 48 + gtk2 49 + glib 50 + minizip 51 + alure 52 ]; 53 54 patches = [ ··· 67 ''; 68 69 meta = with lib; { 70 + homepage = "https://springlobby.springrts.com"; 71 description = "Cross-platform lobby client for the Spring RTS project"; 72 + license = licenses.gpl2Plus; 73 maintainers = with maintainers; [ qknight domenkozar ]; 74 + platforms = [ "i686-linux" "x86_64-linux" ]; 75 }; 76 }
+34 -5
pkgs/misc/screensavers/electricsheep/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, ffmpeg, lua5_1, curl 2 - , libpng, xorg, pkg-config, flam3, libgtop, boost, tinyxml, freeglut, libGLU, libGL 3 - , glee }: 4 5 stdenv.mkDerivation rec { 6 pname = "electricsheep"; ··· 16 nativeBuildInputs = [ autoreconfHook pkg-config ]; 17 18 buildInputs = [ 19 - wxGTK30 ffmpeg lua5_1 curl libpng xorg.libXrender 20 - flam3 libgtop boost tinyxml freeglut libGLU libGL glee 21 ]; 22 23 preAutoreconf = ''
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , wxGTK32 6 + , ffmpeg 7 + , lua5_1 8 + , curl 9 + , libpng 10 + , xorg 11 + , pkg-config 12 + , flam3 13 + , libgtop 14 + , boost 15 + , tinyxml 16 + , freeglut 17 + , libGLU 18 + , libGL 19 + , glee 20 + }: 21 22 stdenv.mkDerivation rec { 23 pname = "electricsheep"; ··· 33 nativeBuildInputs = [ autoreconfHook pkg-config ]; 34 35 buildInputs = [ 36 + wxGTK32 37 + ffmpeg 38 + lua5_1 39 + curl 40 + libpng 41 + xorg.libXrender 42 + flam3 43 + libgtop 44 + boost 45 + tinyxml 46 + freeglut 47 + libGLU 48 + libGL 49 + glee 50 ]; 51 52 preAutoreconf = ''