2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, SDL2
|
|
|
|
, cmake
|
2024-02-07 01:22:34 +00:00
|
|
|
, fetchFromGitHub
|
2022-11-21 17:40:18 +00:00
|
|
|
, lua
|
|
|
|
, minizip
|
|
|
|
, pkg-config
|
2024-02-07 01:22:34 +00:00
|
|
|
, stdenv
|
2022-11-21 17:40:18 +00:00
|
|
|
, wrapQtAppsHook
|
|
|
|
, x264
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-08-12 14:41:47 +00:00
|
|
|
pname = "fceux";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "2.6.6-unstable-2024-01-19";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-01-19 23:45:15 +00:00
|
|
|
owner = "TASEmulators";
|
2022-11-21 17:40:18 +00:00
|
|
|
repo = "fceux";
|
2024-02-07 01:22:34 +00:00
|
|
|
rev = "2fce5ffe745bb89be471e450d9cd6284cd5614d9";
|
|
|
|
hash = "sha256-5uUTw7ZkmBrGuntSQFNAp1Xz69ANmmIxNGd0/enPoW8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
lua
|
|
|
|
minizip
|
|
|
|
x264
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
meta = {
|
2022-11-21 17:40:18 +00:00
|
|
|
homepage = "http://www.fceux.com/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Nintendo Entertainment System (NES) Emulator";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "fceux";
|
2024-02-07 01:22:34 +00:00
|
|
|
changelog = "https://github.com/TASEmulators/blob/fceux/${finalAttrs.src.rev}/changelog.txt";
|
|
|
|
license = with lib.licenses; [ gpl2Plus ];
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres sbruder ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-11-21 17:40:18 +00:00
|
|
|
})
|