1 {stdenv, lib, fetchurl, ocaml, findlib, gdome2, libxslt, pkg-config}:
7 stdenv.mkDerivation rec {
8 name = "${pname}-${version}";
12 url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
13 sha256 = "0skmlv0pnqvg99wzzzi1h4zhwzd82xg7xpkj1kwpfy7bzinjh7ig";
16 patches = [ ./gcc-4.3.patch ];
18 dontDisableStatic = true;
21 configureFlags="--with-ocaml-lib-prefix=$out/lib/ocaml/${ocaml.version}/site-lib"
24 nativeBuildInputs = [ pkg-config ocaml findlib ];
25 buildInputs = [ libxslt ];
26 propagatedBuildInputs = [ gdome2 ];
31 homepage = "http://gmetadom.sourceforge.net/";
32 description = "A collection of librares, each library providing a DOM implementation";
33 license = lib.licenses.lgpl21Plus;
34 maintainers = [ lib.maintainers.roconnor ];