3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/emulators/emulationstation/default.nix

31 lines
981 B
Nix
Raw Normal View History

2014-08-31 11:50:35 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen
, freeimage, freetype, mesa, SDL2, alsaLib, libarchive }:
2014-08-21 19:51:38 +01:00
stdenv.mkDerivation rec {
name = "emulationstation-${version}";
version = "2.0.1a";
2014-08-21 19:51:38 +01:00
2014-08-31 11:50:35 +01:00
src = fetchFromGitHub {
owner = "Aloshi";
repo = "EmulationStation";
rev = "646bede3d9ec0acf0ae378415edac136774a66c5";
sha256 = "0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v";
2014-08-31 11:50:35 +01:00
};
2014-08-21 19:51:38 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake alsaLib boost curl eigen freeimage freetype libarchive mesa SDL2 ];
2014-08-21 19:51:38 +01:00
buildPhase = "cmake . && make";
installPhase = ''
2014-08-31 11:50:35 +01:00
install -D ../emulationstation $out/bin/emulationstation
2014-08-21 19:51:38 +01:00
'';
meta = {
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
homepage = http://emulationstation.org;
2014-08-21 19:51:38 +01:00
maintainers = [ stdenv.lib.maintainers.edwtjo ];
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
2014-08-21 19:51:38 +01:00
};
}