at 17.09-beta 19 lines 503 B view raw
1{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt }: 2 3stdenv.mkDerivation rec { 4 name = "ocaml${ocaml.version}-git-http-${version}"; 5 inherit (git) version src; 6 7 buildInputs = [ ocaml findlib jbuilder ]; 8 9 propagatedBuildInputs = [ git cohttp-lwt ]; 10 11 buildPhase = "jbuilder build -p git-http"; 12 13 inherit (jbuilder) installPhase; 14 15 meta = { 16 description = "Client implementation of the Smart HTTP Git protocol in pure OCaml"; 17 inherit (git.meta) homepage license maintainers platforms; 18 }; 19}