diff options
author | William A. Kennington III <william@wkennington.com> | 2015-07-31 17:26:20 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-07-31 17:26:20 -0700 |
commit | 09b4a7cc1bdb0392c385a630168b3c8430e475c5 (patch) | |
tree | 8e1e72e845fc6a39e154e2666ac04fee98430f45 /pkgs/misc | |
parent | cb7c053383ff76a454484992b3a6d6a2f1530c15 (diff) | |
parent | 85e2c8ff23feb5f6344acde44d8b51d46c4ba89a (diff) | |
download | nixlib-09b4a7cc1bdb0392c385a630168b3c8430e475c5.tar nixlib-09b4a7cc1bdb0392c385a630168b3c8430e475c5.tar.gz nixlib-09b4a7cc1bdb0392c385a630168b3c8430e475c5.tar.bz2 nixlib-09b4a7cc1bdb0392c385a630168b3c8430e475c5.tar.lz nixlib-09b4a7cc1bdb0392c385a630168b3c8430e475c5.tar.xz nixlib-09b4a7cc1bdb0392c385a630168b3c8430e475c5.tar.zst nixlib-09b4a7cc1bdb0392c385a630168b3c8430e475c5.zip |
Merge branch 'master.upstream' into staging.upstream
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/emulators/ppsspp/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/misc/emulators/ppsspp/default.nix b/pkgs/misc/emulators/ppsspp/default.nix index 732500be0fcf..439566de0cad 100644 --- a/pkgs/misc/emulators/ppsspp/default.nix +++ b/pkgs/misc/emulators/ppsspp/default.nix @@ -2,17 +2,21 @@ , withGamepads ? true, SDL # SDL is used for gamepad functionality }: +assert withGamepads -> (SDL != null); + let - version = "0.9.9.1"; + version = "1.1.0"; fstat = x: fn: "-D" + fn + "=" + (if x then "ON" else "OFF"); -in stdenv.mkDerivation { +in +with stdenv.lib; +stdenv.mkDerivation rec{ name = "PPSSPP-${version}"; src = fetchgit { url = "https://github.com/hrydgard/ppsspp.git"; - sha256 = "0fdbda0b4dfbecacd01850f1767e980281fed4cc34a21df26ab3259242d8c352"; - rev = "bf709790c4fed9cd211f755acaa650ace0f7555a"; + rev = "8c8e5de89d52b8bcb968227d96cbf049d04d1241"; fetchSubmodules = true; + sha256 = "71dfa0be045f31969b1d6ab4f1adf6a208f9ef4834d708bc7bf6d9195efb5f80"; }; buildInputs = [ zlib libpng pkgconfig qt4 ] @@ -21,11 +25,11 @@ in stdenv.mkDerivation { configurePhase = "cd Qt && qmake PPSSPPQt.pro"; installPhase = "mkdir -p $out/bin && cp ppsspp $out/bin"; - meta = with stdenv.lib; { + meta = { homepage = "http://www.ppsspp.org/"; description = "A PSP emulator, the Qt4 version"; license = licenses.gpl2Plus; - maintainers = [ maintainers.fuuzetsu ]; + maintainers = [ maintainers.fuuzetsu maintainers.AndersonTorres ]; platforms = platforms.linux ++ platforms.darwin ++ platforms.cygwin; }; -} \ No newline at end of file +} |