nixpkgs/pkgs/misc/emulators/fuse-emulator/default.nix

30 lines
839 B
Nix
Raw Normal View History

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