diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-03-24 11:04:41 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-03-24 11:04:41 +0100 |
commit | 5423cabbbf2b6dec5568f1ecabd288d5d9a642ec (patch) | |
tree | f316a6a921bfefd3a63bd4502c2eb50ff1644f67 /nixpkgs/pkgs/by-name/fs/fsuae/package.nix | |
parent | 46a88117a05c3469af5d99433af140c3de8ca088 (diff) | |
parent | 8aa81f34981add12aecada6c702ddbbd0375ca36 (diff) | |
download | nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.gz nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.bz2 nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.lz nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.xz nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.zst nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/by-name/fs/fsuae/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/fs/fsuae/package.nix | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/fs/fsuae/package.nix b/nixpkgs/pkgs/by-name/fs/fsuae/package.nix new file mode 100644 index 000000000000..9d8beaad4114 --- /dev/null +++ b/nixpkgs/pkgs/by-name/fs/fsuae/package.nix @@ -0,0 +1,75 @@ +{ lib +, SDL2 +, autoreconfHook +, fetchFromGitHub +, freetype +, gettext +, glib +, gtk2 +, libGL +, libGLU +, libmpeg2 +, lua +, openal +, pkg-config +, strip-nondeterminism +, stdenv +, zip +, zlib +}: + +stdenv.mkDerivation (finalAttrs:{ + pname = "fs-uae"; + version = "3.1.66"; + + src = fetchFromGitHub { + owner = "FrodeSolheim"; + repo = "fs-uae"; + rev = "v${finalAttrs.version}"; + hash = "sha256-zPVRPazelmNaxcoCStB0j9b9qwQDTgv3O7Bg3VlW9ys="; + }; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + strip-nondeterminism + zip + ]; + + buildInputs = [ + SDL2 + freetype + gettext + glib + gtk2 + libGL + libGLU + libmpeg2 + lua + openal + zlib + ]; + + strictDeps = true; + + # Make sure that the build timestamp is not included in the archive + postFixup = '' + strip-nondeterminism --type zip $out/share/fs-uae/fs-uae.dat + ''; + + meta = { + homepage = "https://fs-uae.net"; + description = "An accurate, customizable Amiga Emulator"; + longDescription = '' + 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. + ''; + license = lib.licenses.gpl2Plus; + mainProgram = "fs-uae"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = with lib.systems.inspect; + patternLogicalAnd patterns.isx86 patterns.isLinux; + }; +}) |