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

21 lines
570 B
Nix
Raw Normal View History

{ stdenv, buildDunePackage, git-http, cohttp, cohttp-lwt-unix
, mmap, cmdliner, mtime, alcotest, mirage-crypto-rng, tls
, io-page, git-binary
}:
2019-08-13 22:52:01 +01:00
buildDunePackage {
pname = "git-unix";
inherit (git-http) version src minimumOCamlVersion;
useDune2 = true;
propagatedBuildInputs = [ mmap cmdliner git-http cohttp cohttp-lwt-unix mtime ];
checkInputs = [ alcotest mirage-crypto-rng tls io-page git-binary ];
doCheck = !stdenv.isAarch64;
meta = {
description = "Unix backend for the Git protocol(s)";
inherit (git-http.meta) homepage license maintainers;
};
}