depot/third_party/nixpkgs/pkgs/applications/emulators/fceux/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

44 lines
764 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, SDL2
, cmake
, lua
, minizip
, pkg-config
, wrapQtAppsHook
, x264
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fceux";
version = "2.6.4";
src = fetchFromGitHub {
owner = "TASEmulators";
repo = "fceux";
rev = "fceux-${finalAttrs.version}";
hash = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
SDL2
lua
minizip
x264
];
meta = with lib; {
homepage = "http://www.fceux.com/";
description = "A Nintendo Entertainment System (NES) Emulator";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sbruder scubed2 ];
platforms = platforms.linux;
};
})