2022-01-03 23:20:29 +00:00
|
|
|
{ lib
|
|
|
|
, SDL2
|
|
|
|
, autoreconfHook
|
2024-03-10 02:58:35 +00:00
|
|
|
, fetchFromGitHub
|
2022-01-03 23:20:29 +00:00
|
|
|
, freetype
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
|
|
|
, libmpeg2
|
|
|
|
, lua
|
|
|
|
, openal
|
|
|
|
, pkg-config
|
2024-03-18 18:37:09 +00:00
|
|
|
, strip-nondeterminism
|
2024-03-10 02:58:35 +00:00
|
|
|
, stdenv
|
2022-01-03 23:20:29 +00:00
|
|
|
, zip
|
|
|
|
, zlib
|
|
|
|
}:
|
2014-12-27 16:58:09 +00:00
|
|
|
|
2023-07-06 23:47:34 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs:{
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fs-uae";
|
2022-01-03 23:20:29 +00:00
|
|
|
version = "3.1.66";
|
2014-12-27 16:58:09 +00:00
|
|
|
|
2022-01-03 23:20:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FrodeSolheim";
|
2023-07-06 23:47:34 +00:00
|
|
|
repo = "fs-uae";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2022-01-03 23:20:29 +00:00
|
|
|
hash = "sha256-zPVRPazelmNaxcoCStB0j9b9qwQDTgv3O7Bg3VlW9ys=";
|
2014-12-27 16:58:09 +00:00
|
|
|
};
|
|
|
|
|
2022-01-03 23:20:29 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
2024-03-18 18:37:09 +00:00
|
|
|
strip-nondeterminism
|
2024-03-10 02:58:35 +00:00
|
|
|
zip
|
2022-01-03 23:20:29 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
freetype
|
|
|
|
gettext
|
|
|
|
glib
|
|
|
|
gtk2
|
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
libmpeg2
|
|
|
|
lua
|
|
|
|
openal
|
|
|
|
zlib
|
|
|
|
];
|
2014-12-27 16:58:09 +00:00
|
|
|
|
2024-03-10 02:58:35 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2024-03-18 18:37:09 +00:00
|
|
|
# Make sure that the build timestamp is not included in the archive
|
|
|
|
postFixup = ''
|
|
|
|
strip-nondeterminism --type zip $out/share/fs-uae/fs-uae.dat
|
|
|
|
'';
|
|
|
|
|
2023-07-06 23:47:34 +00:00
|
|
|
meta = {
|
2022-01-03 23:20:29 +00:00
|
|
|
homepage = "https://fs-uae.net";
|
2014-12-27 16:58:09 +00:00
|
|
|
description = "Accurate, customizable Amiga Emulator";
|
|
|
|
longDescription = ''
|
2023-07-06 23:47:34 +00:00
|
|
|
FS-UAE integrates the most accurate Amiga emulation code available from
|
|
|
|
WinUAE. FS-UAE emulates A500, A500+, A600, A1200, A1000, A3000 and A4000
|
|
|
|
models, but you can tweak the hardware configuration and create customized
|
|
|
|
Amigas.
|
2014-12-27 16:58:09 +00:00
|
|
|
'';
|
2023-07-06 23:47:34 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2024-03-10 02:58:35 +00:00
|
|
|
mainProgram = "fs-uae";
|
2023-07-06 23:47:34 +00:00
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
2024-03-10 02:58:35 +00:00
|
|
|
platforms = with lib.systems.inspect;
|
|
|
|
patternLogicalAnd patterns.isx86 patterns.isLinux;
|
2014-12-27 16:58:09 +00:00
|
|
|
};
|
2023-07-06 23:47:34 +00:00
|
|
|
})
|