3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/emulators/fceux/default.nix
Simon Bruder a38b954b1b
fceux: 2021-01-29 -> 2.4.0
This reorganises the whole derivation because upstream switched from GTK
(optional) to Qt (required) and now uses CMake instead of SCons as build
system.
2021-08-11 13:16:03 +02:00

25 lines
707 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }:
stdenv.mkDerivation rec {
pname = "fceux";
version = "2.4.0";
src = fetchFromGitHub {
owner = "TASVideos";
repo = pname;
rev = "${pname}-${version}";
sha256 = "sha256-i0mb0vy46D97oOpAjMw3CPbG4w/LWP9YRVEMWjdYgs0=";
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
buildInputs = [ SDL2 lua5_1 minizip x264 ];
meta = with lib; {
description = "A Nintendo Entertainment System (NES) Emulator";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sbruder scubed2 ];
homepage = "http://www.fceux.com/";
platforms = platforms.linux;
};
}