fceux: refactor to new overlay-style overridable attributes
This commit is contained in:
parent
7cac4e5579
commit
f35f6ff9f9
|
@ -1,24 +1,44 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, SDL2
|
||||||
|
, cmake
|
||||||
|
, lua
|
||||||
|
, minizip
|
||||||
|
, pkg-config
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, x264
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fceux";
|
pname = "fceux";
|
||||||
version = "2.6.4";
|
version = "2.6.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TASEmulators";
|
owner = "TASEmulators";
|
||||||
repo = pname;
|
repo = "fceux";
|
||||||
rev = "${pname}-${version}";
|
rev = "fceux-${finalAttrs.version}";
|
||||||
sha256 = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM=";
|
hash = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ SDL2 lua5_1 minizip x264 ];
|
cmake
|
||||||
|
pkg-config
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
SDL2
|
||||||
|
lua
|
||||||
|
minizip
|
||||||
|
x264
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
homepage = "http://www.fceux.com/";
|
||||||
description = "A Nintendo Entertainment System (NES) Emulator";
|
description = "A Nintendo Entertainment System (NES) Emulator";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ sbruder scubed2 ];
|
maintainers = with maintainers; [ sbruder scubed2 ];
|
||||||
homepage = "http://www.fceux.com/";
|
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -1557,7 +1557,10 @@ with pkgs;
|
||||||
|
|
||||||
emulationstation = callPackage ../applications/emulators/emulationstation { };
|
emulationstation = callPackage ../applications/emulators/emulationstation { };
|
||||||
|
|
||||||
fceux = libsForQt5.callPackage ../applications/emulators/fceux { };
|
fceux = callPackage ../applications/emulators/fceux {
|
||||||
|
lua = lua5_1;
|
||||||
|
inherit (libsForQt5) wrapQtAppsHook;
|
||||||
|
};
|
||||||
|
|
||||||
firebird-emu = libsForQt5.callPackage ../applications/emulators/firebird-emu { };
|
firebird-emu = libsForQt5.callPackage ../applications/emulators/firebird-emu { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue