nixpkgs/pkgs/applications/emulators/fceux/default.nix

25 lines
710 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }:
2014-06-08 02:08:57 +04:00
stdenv.mkDerivation rec {
pname = "fceux";
2022-02-11 18:05:44 +03:00
version = "2.6.2";
2014-06-08 02:08:57 +04:00
2020-02-09 01:15:00 +03:00
src = fetchFromGitHub {
owner = "TASEmulators";
repo = pname;
rev = "${pname}-${version}";
2022-02-11 18:05:44 +03:00
sha256 = "sha256-yQX58m/sMW/8Jr5cm2SrVXTiF7qyZOgOZg1v0qEyiLw=";
2014-06-08 02:08:57 +04:00
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
buildInputs = [ SDL2 lua5_1 minizip x264 ];
2014-06-08 02:08:57 +04:00
meta = with lib; {
2014-06-08 02:08:57 +04: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 02:08:57 +04:00
};
}