bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
27 lines
700 B
Nix
27 lines
700 B
Nix
{ lib, fetchurl, buildDunePackage, ounit
|
|
, angstrom, stringext
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimalOCamlVersion = "4.03";
|
|
pname = "uri";
|
|
version = "4.4.0";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
|
sha256 = "cdabaf6ef5cd2161e59cc7b74c6e4a68ecb80a9f4e96002e338e1b6bf17adec4";
|
|
};
|
|
|
|
checkInputs = [ ounit ];
|
|
propagatedBuildInputs = [ angstrom stringext ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mirage/ocaml-uri";
|
|
description = "RFC3986 URI parsing library for OCaml";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|