2021-08-12 14:41:47 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-12 14:41:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fceux";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "2.6.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-01-19 23:45:15 +00:00
|
|
|
owner = "TASEmulators";
|
2021-08-12 14:41:47 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-yQX58m/sMW/8Jr5cm2SrVXTiF7qyZOgOZg1v0qEyiLw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-12 14:41:47 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
|
|
|
buildInputs = [ SDL2 lua5_1 minizip x264 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-12 14:41:47 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Nintendo Entertainment System (NES) Emulator";
|
2021-08-12 14:41:47 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ sbruder scubed2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://www.fceux.com/";
|
2021-08-12 14:41:47 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|