3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
27 lines
778 B
Nix
27 lines
778 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, ppx_sexp_conv, sexplib, astring, uri, logs
|
|
, ipaddr, ipaddr-sexp
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "conduit";
|
|
version = "4.0.0";
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-v${version}.tbz";
|
|
sha256 = "74b29d72bf47adc5d5c4cae6130ad5a2a4923118b9c571331bd1cb3c56decd2a";
|
|
};
|
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri logs ];
|
|
|
|
meta = {
|
|
description = "A network connection establishment library";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ alexfmpe vbgl ];
|
|
homepage = "https://github.com/mirage/ocaml-conduit";
|
|
};
|
|
}
|