2010-12-31 17:48:55 +00:00
|
|
|
{stdenv, fetchurl, ocaml, findlib, gdome2, libxslt, pkgconfig}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gmetadom";
|
|
|
|
in
|
|
|
|
|
2016-10-05 08:32:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-12-31 17:48:55 +00:00
|
|
|
name = "${pname}-${version}";
|
2016-10-05 08:32:30 +01:00
|
|
|
version = "0.2.6";
|
2010-12-31 17:48:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0skmlv0pnqvg99wzzzi1h4zhwzd82xg7xpkj1kwpfy7bzinjh7ig";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./gcc-4.3.dpatch ];
|
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
preConfigure=''
|
2016-10-05 08:32:30 +01:00
|
|
|
configureFlags="--with-ocaml-lib-prefix=$out/lib/ocaml/${ocaml.version}/site-lib"
|
2010-12-31 17:48:55 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ocaml findlib gdome2 libxslt];
|
2010-12-31 17:48:55 +00:00
|
|
|
propagatedBuildInputs = [gdome2];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gmetadom.sourceforge.net/";
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A collection of librares, each library providing a DOM implementation";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
2010-12-31 17:48:55 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.roconnor ];
|
|
|
|
};
|
|
|
|
}
|