Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5}: 6 7buildDunePackage rec { 8 pname = "wtf8"; 9 version = "1.0.2"; 10 11 useDune2 = true; 12 13 minimalOCamlVersion = "4.02"; 14 15 src = fetchurl { 16 url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 17 sha256 = "09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp"; 18 }; 19 20 meta = with lib; { 21 homepage = "https://github.com/flowtype/ocaml-wtf8"; 22 description = "WTF-8 is a superset of UTF-8 that allows unpaired surrogates"; 23 license = licenses.mit; 24 maintainers = [ maintainers.eqyiel ]; 25 }; 26}