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

28 lines
687 B
Nix
Raw Permalink Normal View History

2019-08-21 14:12:37 -07:00
{ lib, fetchurl, buildDunePackage, ounit
2020-12-06 00:36:39 -08:00
, angstrom, stringext
}:
buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "uri";
version = "4.2.0";
2020-12-06 00:36:39 -08:00
useDune2 = true;
2018-01-10 23:57:57 -08:00
src = fetchurl {
2019-04-27 23:35:44 -07:00
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "0szifda6yism5vn5jdizkha3ad0xk6zw4xgfl8g77dnv83ci7h65";
};
2020-12-06 00:36:39 -08:00
checkInputs = [ ounit ];
propagatedBuildInputs = [ angstrom stringext ];
2015-07-01 11:20:19 -07:00
doCheck = true;
meta = {
2018-01-10 23:57:57 -08:00
homepage = "https://github.com/mirage/ocaml-uri";
description = "RFC3986 URI parsing library for OCaml";
2019-04-06 06:49:48 -07:00
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}