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

28 lines
914 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}";
2014-08-31 11:50:35 +01:00
version = "2.0.0-rc1";
2014-08-21 19:51:38 +01:00
2014-08-31 11:50:35 +01:00
src = fetchFromGitHub {
owner = "Aloshi";
repo = "EmulationStation";
rev = "8739519e1591819cab85e1d2056804d20c197dac";
sha256 = "1psq5cqyq2yy1lqxrcj7pfp8szfmzhamxf3111l97w2h2zzcgvq9";
};
2014-08-21 19:51:38 +01:00
2014-08-31 11:50:35 +01:00
buildInputs = [ pkgconfig 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";
maintainers = [ stdenv.lib.maintainers.edwtjo ];
license = stdenv.lib.licenses.mit;
};
}