Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / git / unix.nix
blob1079f554731df183b48220179be679bb16fa1c60
1 { buildDunePackage, fetchpatch, git
2 , rresult, result, bigstringaf
3 , fmt, bos, fpath, uri, digestif, logs, lwt
4 , mirage-clock, mirage-clock-unix, astring, awa, cmdliner
5 , decompress, domain-name, ipaddr, mtime
6 , tcpip, awa-mirage, mirage-flow, mirage-unix
7 , alcotest, alcotest-lwt, base64, cstruct
8 , ke, mirage-crypto-rng, ocurl, git-binary
9 , ptime, mimic, ca-certs-nss, tls, tls-mirage
10 , cacert, happy-eyeballs-lwt, git-mirage
13 buildDunePackage {
14   pname = "git-unix";
15   inherit (git) version src;
17   minimalOCamlVersion = "4.08";
18   duneVersion = "3";
20   buildInputs = [
21     awa
22     awa-mirage
23     cmdliner
24     mirage-clock
25     tcpip
26   ];
27   propagatedBuildInputs = [
28     rresult result bigstringaf
29     fmt bos fpath digestif logs lwt
30     astring decompress
31     domain-name ipaddr mirage-flow mirage-unix
32     cstruct ptime mimic ca-certs-nss
33     tls tls-mirage git happy-eyeballs-lwt
34     git-mirage mirage-clock-unix
35   ];
36   checkInputs = [
37     alcotest alcotest-lwt base64 ke
38     mirage-crypto-rng
39     uri mtime
40     cacert # sets up NIX_SSL_CERT_FILE
41   ];
42   nativeCheckInputs = [ git-binary ];
43   doCheck = true;
45   meta = {
46     description = "Unix backend for the Git protocol(s)";
47     inherit (git.meta) homepage license maintainers;
48   };