forked from mirrors/nixpkgs
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
23 lines
552 B
Nix
23 lines
552 B
Nix
{ stdenv, ocaml, findlib, jbuilder, git-http
|
|
, cohttp-lwt-unix
|
|
, tls, magic-mime, cmdliner, mtime
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ocaml${ocaml.version}-git-unix-${version}";
|
|
inherit (git-http) version src;
|
|
|
|
buildInputs = [ ocaml findlib jbuilder cmdliner mtime ];
|
|
|
|
propagatedBuildInputs = [ cohttp-lwt-unix git-http tls ];
|
|
|
|
buildPhase = "jbuilder build -p git-unix";
|
|
|
|
inherit (jbuilder) installPhase;
|
|
|
|
meta = {
|
|
description = "Unix backend for the Git protocol(s)";
|
|
inherit (git-http.meta) homepage license maintainers platforms;
|
|
};
|
|
}
|