2010-12-31 17:48:55 +00:00
|
|
|
{stdenv, fetchurl, ocaml, findlib, gdome2, libxslt, pkgconfig}:
|
|
|
|
|
|
|
|
let
|
|
|
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
|
|
|
version = "0.2.6";
|
|
|
|
pname = "gmetadom";
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0skmlv0pnqvg99wzzzi1h4zhwzd82xg7xpkj1kwpfy7bzinjh7ig";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./gcc-4.3.dpatch ];
|
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
preConfigure=''
|
|
|
|
configureFlags="--with-ocaml-lib-prefix=$out/lib/ocaml/${ocaml_version}/site-lib"
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
|
|
buildInputs = [ocaml findlib pkgconfig gdome2 libxslt];
|
|
|
|
propagatedBuildInputs = [gdome2];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://gmetadom.sourceforge.net/;
|
2015-04-30 15:05:14 +00:00
|
|
|
description = "A collection of librares, each library providing a DOM implementation";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
2010-12-31 17:48:55 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.roconnor ];
|
|
|
|
};
|
|
|
|
}
|