nixpkgs/pkgs/applications/emulators/fceux/default.nix
Anderson Torres 2fd4f1f457 fceux: 2.6.4 -> 2.6.5
Also, pin stdenv to GCC12 - yet another case of updated incompatible C++
standards I suppose.

Oh! Remove it when next version arrives ;)
2024-01-30 07:21:18 -03:00

46 lines
876 B
Nix

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