nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix
2018-09-15 19:32:32 +00:00

23 lines
524 B
Nix

{ 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;
buildInputs = [ ocaml findlib dune cmdliner mtime ];
propagatedBuildInputs = [ cohttp-lwt-unix git-http tls ];
buildPhase = "dune build -p git-unix";
inherit (dune) installPhase;
meta = {
description = "Unix backend for the Git protocol(s)";
inherit (git-http.meta) homepage license maintainers platforms;
};
}