nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix
sternenseemann 2c616aa638
ocamlPackages.angstrom*: 0.13.0 -> 0.14.1
ocamlPackages.email_message: fix 0.12.0 version for angstrom 0.14
ocamlPackages.encore: 0.3 → 0.5
ocamlPackages.git{,-http,-unix}: 2.1.2 → 2.1.3
2020-07-01 13:51:04 +02:00

21 lines
570 B
Nix

{ stdenv, buildDunePackage, git-http, cohttp, cohttp-lwt-unix
, mmap, cmdliner, mtime, alcotest, mirage-crypto-rng, tls
, io-page, git-binary
}:
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;
};
}