Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 ounit, 6 angstrom, 7 stringext, 8}: 9 10buildDunePackage rec { 11 minimalOCamlVersion = "4.03"; 12 pname = "uri"; 13 version = "4.4.0"; 14 15 duneVersion = "3"; 16 17 src = fetchurl { 18 url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 19 sha256 = "cdabaf6ef5cd2161e59cc7b74c6e4a68ecb80a9f4e96002e338e1b6bf17adec4"; 20 }; 21 22 checkInputs = [ ounit ]; 23 propagatedBuildInputs = [ 24 angstrom 25 stringext 26 ]; 27 doCheck = true; 28 29 meta = { 30 homepage = "https://github.com/mirage/ocaml-uri"; 31 description = "RFC3986 URI parsing library for OCaml"; 32 license = lib.licenses.isc; 33 maintainers = [ lib.maintainers.vbgl ]; 34 }; 35}