Skip to content

Commit

Permalink
nestopia-ue: 1.5.2 -> 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guylamar2006 authored Mar 11, 2025
1 parent eaad2a7 commit 22a4af9
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions pkgs/by-name/ne/nestopia-ue/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,92 @@
makeWrapper,
pkg-config,
stdenv,
unzip,{
lib,
SDL2,
alsa-lib,
autoconf-archive,
autoreconfHook,
fetchFromGitHub,
fltk,
libGL,
libGLU,
libao,
libarchive,
libepoxy,
makeWrapper,
pkg-config,
libsamplerate,
stdenv,
unzip,
wrapGAppsHook3,
xdg-utils,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "nestopia";
version = "1.53.0";

src = fetchFromGitHub {
owner = "0ldsk00l";
repo = "nestopia";
rev = finalAttrs.version;
hash = "sha256-C2uiC8zlleXQlThrRETJa9vu++mJy1ySJKAkgu5zuxc=";
};

buildInputs = [
SDL2
alsa-lib
fltk
libepoxy

libGLU
libGL
libarchive
libao
xdg-utils
libsamplerate
];

nativeBuildInputs = [
SDL2
autoconf-archive
autoreconfHook
fltk
pkg-config
makeWrapper
wrapGAppsHook3
unzip
];

strictDeps = true;

preInstall = ''
mkdir -p $out/{bin,share/nestopia}
'';

preFixup = ''
for f in $out/bin/*; do
wrapProgram $f \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share"
done
'';

meta = {
homepage = "http://0ldsk00l.ca/nestopia/";
description = "Cross-platform Nestopia emulator core with a GUI";
changelog = "https://raw.githubusercontent.com/0ldsk00l/nestopia/${finalAttrs.src.rev}/ChangeLog";
license = lib.licenses.gpl2Plus;
mainProgram = "nestopia";
maintainers = with lib.maintainers; [ ];
platforms = lib.platforms.linux;
};
})

wrapGAppsHook3,
xdg-utils,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "nestopia";
version = "1.52.1";
Expand Down

0 comments on commit 22a4af9

Please sign in to comment.