2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib, libXaw, libX11, libXext
|
2020-04-24 23:36:52 +00:00
|
|
|
, libDSKSupport ? true, libdsk
|
|
|
|
, motifSupport ? false, lesstif
|
|
|
|
}:
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "20070122";
|
|
|
|
pname = "xcpc";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xcpc/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0hxsbhmyzyyrlidgg0q8izw55q0z40xrynw5a1c3frdnihj9jf7n";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ glib libdsk libXaw libX11 libXext ]
|
|
|
|
++ optional libDSKSupport libdsk
|
|
|
|
++ optional motifSupport lesstif;
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Portable Amstrad CPC 464/664/6128 emulator written in C";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.xcpc-emulator.net";
|
|
|
|
license = licenses.gpl2Plus;
|
2020-11-21 19:51:51 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "xcpc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|