nixpkgs/pkgs/by-name/xc/xcpc/package.nix

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

30 lines
812 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
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 ]
2024-08-13 20:01:58 +00:00
++ lib.optional libDSKSupport libdsk
++ lib.optional motifSupport lesstif;
2024-08-13 20:01:58 +00:00
meta = with lib; {
2018-02-27 18:02:44 +00:00
description = "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;
2024-02-11 02:19:15 +00:00
mainProgram = "xcpc";
2018-02-27 18:02:44 +00:00
};
}