2021-03-19 17:17:44 +00:00
|
|
|
{ buildDunePackage, git
|
2022-10-21 18:38:19 +00:00
|
|
|
, rresult, result, bigstringaf
|
|
|
|
, fmt, bos, fpath, uri, digestif, logs, lwt
|
2021-02-16 17:04:54 +00:00
|
|
|
, mirage-clock, mirage-clock-unix, astring, awa, cmdliner
|
2022-10-21 18:38:19 +00:00
|
|
|
, decompress, domain-name, ipaddr, mtime
|
|
|
|
, tcpip, awa-mirage, mirage-flow, mirage-unix
|
2021-02-16 17:04:54 +00:00
|
|
|
, alcotest, alcotest-lwt, base64, cstruct
|
|
|
|
, ke, mirage-crypto-rng, ocurl, git-binary
|
2021-05-20 23:08:51 +00:00
|
|
|
, ptime, mimic, ca-certs-nss, tls, tls-mirage
|
2022-10-21 18:38:19 +00:00
|
|
|
, cacert, happy-eyeballs-lwt, git-mirage
|
2021-02-16 17:04:54 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "git-unix";
|
2022-10-21 18:38:19 +00:00
|
|
|
inherit (git) version src;
|
2021-02-16 17:04:54 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2022-12-28 21:21:41 +00:00
|
|
|
duneVersion = "3";
|
2021-02-16 17:04:54 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2022-10-21 18:38:19 +00:00
|
|
|
awa awa-mirage cmdliner
|
|
|
|
mirage-clock tcpip
|
2021-02-16 17:04:54 +00:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
2022-10-21 18:38:19 +00:00
|
|
|
rresult result bigstringaf
|
|
|
|
fmt bos fpath digestif logs lwt
|
|
|
|
astring decompress
|
|
|
|
domain-name ipaddr mirage-flow mirage-unix
|
2021-05-20 23:08:51 +00:00
|
|
|
cstruct ptime mimic ca-certs-nss
|
2022-10-21 18:38:19 +00:00
|
|
|
tls tls-mirage git happy-eyeballs-lwt
|
|
|
|
git-mirage mirage-clock-unix
|
2021-02-16 17:04:54 +00:00
|
|
|
];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-05-20 23:08:51 +00:00
|
|
|
alcotest alcotest-lwt base64 ke
|
|
|
|
mirage-crypto-rng git-binary
|
2022-10-21 18:38:19 +00:00
|
|
|
uri mtime
|
2021-05-20 23:08:51 +00:00
|
|
|
cacert # sets up NIX_SSL_CERT_FILE
|
2021-02-16 17:04:54 +00:00
|
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Unix backend for the Git protocol(s)";
|
|
|
|
inherit (git.meta) homepage license maintainers;
|
|
|
|
};
|
|
|
|
}
|