2021-02-05 17:12:51 +00:00
|
|
|
{stdenv, lib, fetchurl, ocaml, findlib, gdome2, libxslt, pkg-config}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gmetadom";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
version = "0.2.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0skmlv0pnqvg99wzzzi1h4zhwzd82xg7xpkj1kwpfy7bzinjh7ig";
|
|
|
|
};
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
patches = [ ./gcc-4.3.patch ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
preConfigure=''
|
|
|
|
configureFlags="--with-ocaml-lib-prefix=$out/lib/ocaml/${ocaml.version}/site-lib"
|
|
|
|
'';
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ocaml findlib ];
|
2022-03-30 09:31:56 +00:00
|
|
|
buildInputs = [ libxslt ];
|
|
|
|
propagatedBuildInputs = [ gdome2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://gmetadom.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A collection of librares, each library providing a DOM implementation";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [ lib.maintainers.roconnor ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|