nixpkgs/pkgs/applications/emulators/xcpc/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

31 lines
804 B
Nix

{ lib, stdenv, fetchurl, pkg-config, glib, libXaw, libX11, libXext
, libDSKSupport ? true, libdsk
, motifSupport ? false, lesstif
}:
with lib;
stdenv.mkDerivation rec {
version = "20070122";
pname = "xcpc";
src = fetchurl {
url = "mirror://sourceforge/xcpc/${pname}-${version}.tar.gz";
sha256 = "0hxsbhmyzyyrlidgg0q8izw55q0z40xrynw5a1c3frdnihj9jf7n";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib libdsk libXaw libX11 libXext ]
++ optional libDSKSupport libdsk
++ optional motifSupport lesstif;
meta = {
description = "Portable Amstrad CPC 464/664/6128 emulator written in C";
homepage = "https://www.xcpc-emulator.net";
license = licenses.gpl2Plus;
maintainers = [ ];
platforms = platforms.linux;
mainProgram = "xcpc";
};
}