Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 31 lines 902 B view raw
1{ lib 2, buildDunePackage 3, fetchurl 4}: 5 6buildDunePackage rec { 7 pname = "xml-light"; 8 version = "2.5"; 9 10 duneVersion = "3"; 11 minimalOCamlVersion = "4.03"; 12 13 src = fetchurl { 14 url = "https://github.com/ncannasse/xml-light/releases/download/${version}/xml-light-${version}.tbz"; 15 hash = "sha256-9YwrPbcK0boICw0wauMvgsy7ldq7ksWZzcRn0eROAD0="; 16 }; 17 18 meta = { 19 description = "Minimal Xml parser and printer for OCaml"; 20 longDescription = '' 21 Xml-Light provides functions to parse an XML document into an OCaml 22 data structure, work with it, and print it back to an XML 23 document. It support also DTD parsing and checking, and is 24 entirely written in OCaml, hence it does not require additional C 25 library. 26 ''; 27 homepage = "http://tech.motion-twin.com/xmllight.html"; 28 license = lib.licenses.lgpl21; 29 maintainers = [ lib.maintainers.romildo ]; 30 }; 31}