2023-03-04 12:14:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
}:
|
2022-02-20 05:27:41 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "xml-light";
|
|
|
|
version = "2.5";
|
2023-01-11 07:51:40 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ncannasse/xml-light/releases/download/${version}/xml-light-${version}.tbz";
|
|
|
|
hash = "sha256-9YwrPbcK0boICw0wauMvgsy7ldq7ksWZzcRn0eROAD0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Minimal Xml parser and printer for OCaml";
|
|
|
|
longDescription = ''
|
|
|
|
Xml-Light provides functions to parse an XML document into an OCaml
|
|
|
|
data structure, work with it, and print it back to an XML
|
|
|
|
document. It support also DTD parsing and checking, and is
|
|
|
|
entirely written in OCaml, hence it does not require additional C
|
|
|
|
library.
|
|
|
|
'';
|
|
|
|
homepage = "http://tech.motion-twin.com/xmllight.html";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|