at 24.05-pre 25 lines 669 B view raw
1{ lib, buildDunePackage, fetchurl, re, uutf }: 2 3buildDunePackage rec { 4 pname = "tyxml"; 5 version = "4.5.0"; 6 7 useDune2 = true; 8 9 src = fetchurl { 10 url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz"; 11 sha256 = "0s30f72m457c3gbdmdwbx7ls9zg806nvm83aiz9qkpglbppwr6n6"; 12 }; 13 14 propagatedBuildInputs = [ uutf re ]; 15 16 meta = with lib; { 17 homepage = "http://ocsigen.org/tyxml/"; 18 description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing"; 19 license = licenses.lgpl21; 20 maintainers = with maintainers; [ 21 gal_bolle vbgl 22 ]; 23 }; 24 25}