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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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";
2021-03-11 12:37:02 +00:00
version = "1.6.0";
2019-12-08 13:23:15 +00:00
src = fetchurl {
url = "mirror://sourceforge/${pname}/fuse-${version}.tar.gz";
2021-03-11 12:37:02 +00:00
sha256 = "sha256-Oo/t8v/pR8VxVhusVaWa2tTFkzj3TkSbfnpn2coEcJY=";
2019-12-08 13:23:15 +00:00
};
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 = "https://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 ];
};
}