2017-08-27 21:00:55 +02:00
|
|
|
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt }:
|
2017-07-02 10:26:39 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ocaml${ocaml.version}-git-http-${version}";
|
|
|
|
inherit (git) version src;
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib jbuilder ];
|
|
|
|
|
2017-08-27 21:00:55 +02:00
|
|
|
propagatedBuildInputs = [ git cohttp-lwt ];
|
2017-07-02 10:26:39 +02: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;
|
|
|
|
};
|
|
|
|
}
|