1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/git-http/default.nix

25 lines
599 B
Nix
Raw Normal View History

2018-09-05 17:11:47 +01:00
{ stdenv, ocaml, findlib, dune, git, cohttp-lwt
, alcotest, mtime, nocrypto
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-git-http-${version}";
inherit (git) version src;
2018-09-05 17:11:47 +01:00
buildInputs = [ ocaml findlib dune alcotest mtime nocrypto ];
propagatedBuildInputs = [ git cohttp-lwt ];
2018-09-05 17:11:47 +01:00
buildPhase = "dune build -p git-http";
2018-09-05 17:11:47 +01:00
inherit (dune) installPhase;
doCheck = true;
2018-09-05 17:11:47 +01:00
checkPhase = "dune runtest -p git-http";
meta = {
description = "Client implementation of the Smart HTTP Git protocol in pure OCaml";
inherit (git.meta) homepage license maintainers platforms;
};
}