3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/emulators/fuse-emulator/default.nix

30 lines
840 B
Nix
Raw Normal View History

2021-01-17 02:30:45 +00:00
{ lib, stdenv, fetchurl, perl, pkg-config, wrapGAppsHook
2019-12-08 13:23:15 +00:00
, SDL, bzip2, glib, gtk3, libgcrypt, libpng, libspectrum, libxml2, zlib
}:
stdenv.mkDerivation rec {
pname = "fuse-emulator";
version = "1.5.7";
src = fetchurl {
url = "mirror://sourceforge/${pname}/fuse-${version}.tar.gz";
sha256 = "0kaynjr28w42n3iha60mgr7nxm49w8j0v49plyrc7ka24qzmiqph";
};
2021-01-17 02:30:45 +00:00
nativeBuildInputs = [ perl pkg-config wrapGAppsHook ];
2019-12-08 13:23:15 +00:00
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/";
2019-12-08 13:23:15 +00:00
description = "ZX Spectrum emulator";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ orivej ];
};
}