mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
31 lines
994 B
Nix
31 lines
994 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen
|
|
, freeimage, freetype, libGLU_combined, SDL2, alsaLib, libarchive }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "emulationstation";
|
|
version = "2.0.1a";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Aloshi";
|
|
repo = "EmulationStation";
|
|
rev = "646bede3d9ec0acf0ae378415edac136774a66c5";
|
|
sha256 = "0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ cmake alsaLib boost curl eigen freeimage freetype libarchive libGLU_combined SDL2 ];
|
|
|
|
buildPhase = "cmake . && make";
|
|
installPhase = ''
|
|
install -D ../emulationstation $out/bin/emulationstation
|
|
'';
|
|
|
|
meta = {
|
|
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
|
|
homepage = https://emulationstation.org;
|
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|