1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/development/ocaml-modules/git-http/default.nix
2018-01-06 17:18:42 +00:00

20 lines
503 B
Nix

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