@@ -0,0 +1,22 @@
1+{ stdenv, fetchurl, libdsk, pkgconfig, glib, libXaw, libX11, libXext, lesstif }:
2+
3+stdenv.mkDerivation rec {
4+ version = "20070122";
5+ name = "xcpc-${version}";
6+
7+ src = fetchurl {
8+ url = "mirror://sourceforge/xcpc/${name}.tar.gz";
9+ sha256 = "0hxsbhmyzyyrlidgg0q8izw55q0z40xrynw5a1c3frdnihj9jf7n";
10+ };
11+
12+ nativeBuildInputs = [ pkgconfig ];
13+ buildInputs = [ glib libdsk libXaw libX11 libXext lesstif ];
14+
15+ meta = with stdenv.lib; {
16+ description = "A portable Amstrad CPC 464/664/6128 emulator written in C";
17+ homepage = https://www.xcpc-emulator.net;
18+ license = licenses.gpl2Plus;
19+ maintainers = [ maintainers.genesis ];
20+ platforms = platforms.linux;
21+ };
22+}