2022-11-14 02:45:45 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, SDL2
|
|
|
|
, cmake
|
|
|
|
, lua
|
|
|
|
, minizip
|
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, x264
|
|
|
|
}:
|
2014-06-07 22:08:57 +00:00
|
|
|
|
2022-11-14 02:45:45 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-08-10 22:19:54 +00:00
|
|
|
pname = "fceux";
|
2022-03-24 12:59:36 +00:00
|
|
|
version = "2.6.4";
|
2014-06-07 22:08:57 +00:00
|
|
|
|
2020-02-08 22:15:00 +00:00
|
|
|
src = fetchFromGitHub {
|
2022-01-15 09:17:02 +00:00
|
|
|
owner = "TASEmulators";
|
2022-11-14 02:45:45 +00:00
|
|
|
repo = "fceux";
|
|
|
|
rev = "fceux-${finalAttrs.version}";
|
|
|
|
hash = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM=";
|
2014-06-07 22:08:57 +00:00
|
|
|
};
|
|
|
|
|
2022-11-14 02:45:45 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
lua
|
|
|
|
minizip
|
|
|
|
x264
|
|
|
|
];
|
2014-06-07 22:08:57 +00:00
|
|
|
|
2021-08-10 22:19:54 +00:00
|
|
|
meta = with lib; {
|
2022-11-14 02:45:45 +00:00
|
|
|
homepage = "http://www.fceux.com/";
|
2014-06-07 22:08:57 +00:00
|
|
|
description = "A Nintendo Entertainment System (NES) Emulator";
|
2021-08-10 22:19:54 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ sbruder scubed2 ];
|
|
|
|
platforms = platforms.linux;
|
2014-06-07 22:08:57 +00:00
|
|
|
};
|
2022-11-14 02:45:45 +00:00
|
|
|
})
|