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