mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
47 lines
941 B
Nix
47 lines
941 B
Nix
{ lib
|
|
, SDL2
|
|
, cmake
|
|
, fetchFromGitHub
|
|
, lua
|
|
, minizip
|
|
, pkg-config
|
|
, stdenv
|
|
, wrapQtAppsHook
|
|
, x264
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "fceux";
|
|
version = "2.6.6-unstable-2024-01-19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TASEmulators";
|
|
repo = "fceux";
|
|
rev = "2fce5ffe745bb89be471e450d9cd6284cd5614d9";
|
|
hash = "sha256-5uUTw7ZkmBrGuntSQFNAp1Xz69ANmmIxNGd0/enPoW8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
SDL2
|
|
lua
|
|
minizip
|
|
x264
|
|
];
|
|
|
|
meta = {
|
|
homepage = "http://www.fceux.com/";
|
|
description = "A Nintendo Entertainment System (NES) Emulator";
|
|
mainProgram = "fceux";
|
|
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;
|
|
};
|
|
})
|