2021-08-11 00:19:54 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }:
|
2014-06-08 00:08:57 +02:00
|
|
|
|
2021-08-11 00:19:54 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fceux";
|
2021-10-22 13:57:39 +02:00
|
|
|
version = "2.5.0";
|
2014-06-08 00:08:57 +02:00
|
|
|
|
2020-02-08 23:15:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TASVideos";
|
2021-08-11 00:19:54 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
2021-10-22 13:57:39 +02:00
|
|
|
sha256 = "sha256-k9GkG+HLscSv9Ar58gdj4+WvXRchGqeDcvgiKyxEMHs=";
|
2014-06-08 00:08:57 +02:00
|
|
|
};
|
|
|
|
|
2021-08-11 00:19:54 +02:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
|
|
|
buildInputs = [ SDL2 lua5_1 minizip x264 ];
|
2014-06-08 00:08:57 +02:00
|
|
|
|
2021-08-11 00:19:54 +02:00
|
|
|
meta = with lib; {
|
2014-06-08 00:08:57 +02:00
|
|
|
description = "A Nintendo Entertainment System (NES) Emulator";
|
2021-08-11 00:19:54 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ sbruder scubed2 ];
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.fceux.com/";
|
2021-08-11 00:19:54 +02:00
|
|
|
platforms = platforms.linux;
|
2014-06-08 00:08:57 +02:00
|
|
|
};
|
|
|
|
}
|