at v192 28 lines 912 B view raw
1{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen 2, freeimage, freetype, mesa, SDL2, alsaLib, libarchive }: 3 4stdenv.mkDerivation rec { 5 name = "emulationstation-${version}"; 6 version = "2.0.1a"; 7 8 src = fetchFromGitHub { 9 owner = "Aloshi"; 10 repo = "EmulationStation"; 11 rev = "646bede3d9ec0acf0ae378415edac136774a66c5"; 12 sha256 = "0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v"; 13 }; 14 15 buildInputs = [ pkgconfig cmake alsaLib boost curl eigen freeimage freetype libarchive mesa SDL2 ]; 16 17 buildPhase = "cmake . && make"; 18 installPhase = '' 19 install -D ../emulationstation $out/bin/emulationstation 20 ''; 21 22 meta = { 23 description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes"; 24 homepage = "http://emulationstation.org"; 25 maintainers = [ stdenv.lib.maintainers.edwtjo ]; 26 license = stdenv.lib.licenses.mit; 27 }; 28}