Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
25 lines
711 B
Nix
25 lines
711 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, ppx_sexp_conv, sexplib0, astring, uri
|
|
, ipaddr, ipaddr-sexp
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "conduit";
|
|
version = "7.0.0";
|
|
|
|
minimalOCamlVersion = "4.13";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-${version}.tbz";
|
|
hash = "sha256-Pg7ChIlqldF42NE1eS56Rssk+csK8OqWTQXO4avLEhg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib0 uri ppx_sexp_conv ];
|
|
|
|
meta = {
|
|
description = "Network connection establishment library";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ alexfmpe vbgl ];
|
|
homepage = "https://github.com/mirage/ocaml-conduit";
|
|
};
|
|
}
|