2021-01-19 06:50:56 +00:00
|
|
|
{stdenv, lib, fetchurl, ocaml, findlib, gdome2, libxslt, pkg-config}:
|
2010-12-31 17:48:55 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gmetadom";
|
|
|
|
in
|
|
|
|
|
2016-10-05 07:32:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-12-31 17:48:55 +00:00
|
|
|
name = "${pname}-${version}";
|
2016-10-05 07:32:30 +00: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";
|
|
|
|
};
|
|
|
|
|
2020-08-05 09:50:47 +00:00
|
|
|
patches = [ ./gcc-4.3.patch ];
|
2010-12-31 17:48:55 +00:00
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
preConfigure=''
|
2016-10-05 07:32:30 +00:00
|
|
|
configureFlags="--with-ocaml-lib-prefix=$out/lib/ocaml/${ocaml.version}/site-lib"
|
2010-12-31 17:48:55 +00:00
|
|
|
'';
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ocaml findlib ];
|
2022-03-04 10:30:58 +00:00
|
|
|
buildInputs = [ libxslt ];
|
|
|
|
propagatedBuildInputs = [ gdome2 ];
|
2010-12-31 17:48:55 +00:00
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2010-12-31 17:48:55 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://gmetadom.sourceforge.net/";
|
2015-04-30 15:05:14 +00:00
|
|
|
description = "A collection of librares, each library providing a DOM implementation";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [ lib.maintainers.roconnor ];
|
2010-12-31 17:48:55 +00:00
|
|
|
};
|
|
|
|
}
|