1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/misc/emulators/retroarch/default.nix

28 lines
632 B
Nix
Raw Normal View History

2013-06-26 12:25:09 +01:00
{ stdenv, fetchurl, pkgconfig, which
, SDL, mesa, alsaLib
}:
stdenv.mkDerivation rec {
name = "retroarch-0.9.9";
src = fetchurl {
url = "http://themaister.net/retroarch-dl/${name}.tar.gz";
sha256 = "08xlndpl14c4ccgp752ixx3a7ajf3xp93nawhinwxq0cw801prda";
};
buildInputs = [
pkgconfig which SDL mesa alsaLib
];
preConfigure = ''
configureFlags="--global-config-dir=$out/etc"
'';
meta = {
description = "A cross-platform multi-system emulator";
homepage = "http://themaister.net/retroarch.html";
license = stdenv.lib.licenses.gpl3Plus;
platform = stdenv.lib.platforms.linux;
};
}