nixpkgs/pkgs/development/ocaml-modules/git-http/default.nix
Vincent Laporte ed12c7a9b9 ocamlPackages.git-http: init at 1.11.0
Client implementation of the “Smart” HTTP Git protocol in pure OCaml.
2017-07-02 11:59:16 +00:00

19 lines
495 B
Nix

{ stdenv, ocaml, findlib, jbuilder, git, cohttp }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-git-http-${version}";
inherit (git) version src;
buildInputs = [ ocaml findlib jbuilder ];
propagatedBuildInputs = [ git cohttp ];
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;
};
}