nixpkgs-suyu/pkgs/misc/emulators/fceux/default.nix

25 lines
707 B
Nix
Raw Normal View History

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