nixpkgs/pkgs/applications/editors/xmlcopyeditor/default.nix

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

56 lines
941 B
Nix
Raw Normal View History

2022-11-04 16:39:01 +00:00
{ lib
, stdenv
, fetchurl
, aspell
, boost
, expat
, intltool
, pkg-config
, libxml2
, libxslt
, pcre2
, wxGTK32
, xercesc
, Cocoa
}:
stdenv.mkDerivation rec {
pname = "xmlcopyeditor";
2022-11-04 16:39:01 +00:00
version = "1.3.1.0";
src = fetchurl {
url = "mirror://sourceforge/xml-copy-editor/${pname}-${version}.tar.gz";
2022-11-04 16:39:01 +00:00
sha256 = "sha256-6HHKl7hqyvF3gJ9vmjLjTT49prJ8KhEEV0qPsJfQfJE=";
};
patches = [ ./xmlcopyeditor.patch ];
2022-11-04 16:39:01 +00:00
nativeBuildInputs = [
intltool
pkg-config
];
buildInputs = [
aspell
boost
expat
libxml2
libxslt
pcre2
wxGTK32
xercesc
] ++ lib.optionals stdenv.isDarwin [
Cocoa
];
enableParallelBuilding = true;
meta = with lib; {
description = "A fast, free, validating XML editor";
2022-11-04 16:39:01 +00:00
homepage = "https://xml-copy-editor.sourceforge.io/";
license = licenses.gpl2Plus;
2022-11-04 16:39:01 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ candeira wegank ];
};
}