nixpkgs/pkgs/misc/emulators/fceux/default.nix
2021-10-22 13:57:39 +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.5.0";
src = fetchFromGitHub {
owner = "TASVideos";
repo = pname;
rev = "${pname}-${version}";
sha256 = "sha256-k9GkG+HLscSv9Ar58gdj4+WvXRchGqeDcvgiKyxEMHs=";
};
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;
};
}