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