2020-04-27 11:59:18 +01:00
|
|
|
{ stdenv, buildDunePackage, git-http, cohttp, cohttp-lwt-unix
|
|
|
|
, mmap, cmdliner, mtime, alcotest, mirage-crypto-rng, tls
|
|
|
|
, io-page, git-binary
|
|
|
|
}:
|
2017-07-02 09:38:28 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildDunePackage {
|
2018-11-05 10:21:46 +00:00
|
|
|
pname = "git-unix";
|
2020-04-27 11:59:18 +01:00
|
|
|
inherit (git-http) version src minimumOCamlVersion;
|
2017-07-02 09:38:28 +01:00
|
|
|
|
2020-06-25 22:22:21 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-27 11:59:18 +01:00
|
|
|
propagatedBuildInputs = [ mmap cmdliner git-http cohttp cohttp-lwt-unix mtime ];
|
|
|
|
checkInputs = [ alcotest mirage-crypto-rng tls io-page git-binary ];
|
|
|
|
doCheck = !stdenv.isAarch64;
|
2017-07-02 09:38:28 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Unix backend for the Git protocol(s)";
|
2018-11-05 10:21:46 +00:00
|
|
|
inherit (git-http.meta) homepage license maintainers;
|
2017-07-02 09:38:28 +01:00
|
|
|
};
|
|
|
|
}
|