summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/git-http/default.nix
blob: 5b93b9607658497d94f33c3a5160afc8ae04a628 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt }:

stdenv.mkDerivation rec {
	name = "ocaml${ocaml.version}-git-http-${version}";
	inherit (git) version src;

	buildInputs = [ ocaml findlib jbuilder ];

	propagatedBuildInputs = [ git cohttp-lwt ];

	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;
	};
}