2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, buildDunePackage, git-http, cohttp, cohttp-lwt-unix
|
|
|
|
, mmap, cmdliner, mtime, alcotest, mirage-crypto-rng, tls
|
|
|
|
, io-page, git-binary
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "git-unix";
|
|
|
|
inherit (git-http) version src minimumOCamlVersion;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
useDune2 = true;
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
propagatedBuildInputs = [ mmap cmdliner git-http cohttp cohttp-lwt-unix mtime ];
|
|
|
|
checkInputs = [ alcotest mirage-crypto-rng tls io-page git-binary ];
|
|
|
|
doCheck = !stdenv.isAarch64;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = {
|
|
|
|
description = "Unix backend for the Git protocol(s)";
|
|
|
|
inherit (git-http.meta) homepage license maintainers;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|