nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix

23 lines
524 B
Nix
Raw Normal View History

2018-09-05 18:11:47 +02:00
{ stdenv, ocaml, findlib, dune, git-http
, cohttp-lwt-unix
, tls, cmdliner, mtime
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-git-unix-${version}";
inherit (git-http) version src;
2018-09-05 18:11:47 +02:00
buildInputs = [ ocaml findlib dune cmdliner mtime ];
propagatedBuildInputs = [ cohttp-lwt-unix git-http tls ];
2018-09-05 18:11:47 +02:00
buildPhase = "dune build -p git-unix";
2018-09-05 18:11:47 +02:00
inherit (dune) installPhase;
meta = {
description = "Unix backend for the Git protocol(s)";
inherit (git-http.meta) homepage license maintainers platforms;
};
}