mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
8d65e832f0
Emulators form a class by themselves. So, they should be moved to applications/.
30 lines
839 B
Nix
30 lines
839 B
Nix
{ lib, stdenv, fetchurl, perl, pkg-config, wrapGAppsHook
|
|
, SDL, bzip2, glib, gtk3, libgcrypt, libpng, libspectrum, libxml2, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fuse-emulator";
|
|
version = "1.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/fuse-${version}.tar.gz";
|
|
sha256 = "sha256-Oo/t8v/pR8VxVhusVaWa2tTFkzj3TkSbfnpn2coEcJY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ perl pkg-config wrapGAppsHook ];
|
|
|
|
buildInputs = [ SDL bzip2 glib gtk3 libgcrypt libpng libspectrum libxml2 zlib ];
|
|
|
|
configureFlags = [ "--enable-desktop-integration" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://fuse-emulator.sourceforge.net/";
|
|
description = "ZX Spectrum emulator";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ orivej ];
|
|
};
|
|
}
|