depot/third_party/nixpkgs/pkgs/development/ocaml-modules/uri/default.nix

28 lines
700 B
Nix
Raw Normal View History

{ 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 ];
};
}