3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/emulators/xcpc/default.nix

30 lines
778 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl, pkgconfig, glib, libXaw, libX11, libXext
, libDSKSupport ? true, libdsk
, motifSupport ? false, lesstif
}:
2018-02-27 18:02:44 +00:00
2021-01-15 13:21:58 +00:00
with lib;
2018-02-27 18:02:44 +00:00
stdenv.mkDerivation rec {
version = "20070122";
pname = "xcpc";
2018-02-27 18:02:44 +00:00
src = fetchurl {
url = "mirror://sourceforge/xcpc/${pname}-${version}.tar.gz";
2018-02-27 18:02:44 +00:00
sha256 = "0hxsbhmyzyyrlidgg0q8izw55q0z40xrynw5a1c3frdnihj9jf7n";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libdsk libXaw libX11 libXext ]
++ optional libDSKSupport libdsk
++ optional motifSupport lesstif;
meta = {
2018-02-27 18:02:44 +00:00
description = "A portable Amstrad CPC 464/664/6128 emulator written in C";
homepage = "https://www.xcpc-emulator.net";
2018-02-27 18:02:44 +00:00
license = licenses.gpl2Plus;
maintainers = [ ];
2018-02-27 18:02:44 +00:00
platforms = platforms.linux;
};
}