2017-08-27 19:00:55 +00:00
|
|
|
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt }:
|
2017-07-02 08:26:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ocaml${ocaml.version}-git-http-${version}";
|
|
|
|
inherit (git) version src;
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib jbuilder ];
|
|
|
|
|
2017-08-27 19:00:55 +00:00
|
|
|
propagatedBuildInputs = [ git cohttp-lwt ];
|
2017-07-02 08:26:39 +00:00
|
|
|
|
|
|
|
buildPhase = "jbuilder build -p git-http";
|
|
|
|
|
|
|
|
inherit (jbuilder) installPhase;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Client implementation of the “Smart” HTTP Git protocol in pure OCaml";
|
|
|
|
inherit (git.meta) homepage license maintainers platforms;
|
|
|
|
};
|
|
|
|
}
|