mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 16:15:30 +00:00
724504e0da
ocamlPackages.conduit: 0.15.4 -> 1.0.0 ocamlPackages.cohttp-lwt: init at 0.99.0 ocamlPackages.cohttp-lwt-unix: init at 0.99.0 ocamlPackages.conduit-lwt: init at 1.0.0 ocamlPackages.conduit-lwt-unix: init at 1.0.0 ocamlPackages.git: 1.11.1 -> 1.11.2
32 lines
775 B
Nix
32 lines
775 B
Nix
{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder
|
|
, ppx_sexp_conv
|
|
, astring, ipaddr, uri
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0.0";
|
|
name = "ocaml${ocaml.version}-conduit-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mirage";
|
|
repo = "ocaml-conduit";
|
|
rev = "v${version}";
|
|
sha256 = "1ryigzh7sfif1mly624fpm87aw5h60n5wzdlrvqsf71qcpxc6iiz";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib jbuilder ppx_sexp_conv ];
|
|
propagatedBuildInputs = [ astring ipaddr uri ];
|
|
|
|
buildPhase = "jbuilder build -p conduit";
|
|
|
|
inherit (jbuilder) installPhase;
|
|
|
|
meta = {
|
|
description = "Network connection library for TCP and SSL";
|
|
license = stdenv.lib.licenses.isc;
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
inherit (ocaml.meta) platforms;
|
|
};
|
|
}
|