nixpkgs/pkgs/applications/emulators/xcpc/default.nix

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

30 lines
780 B
Nix
Raw Normal View History

2021-01-17 02:30:45 +00:00
{ lib, stdenv, fetchurl, pkg-config, 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";
};
2021-01-17 02:30:45 +00:00
nativeBuildInputs = [ pkg-config ];
2018-02-27 18:02:44 +00:00
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;
};
}