1{ 2 buildDunePackage, 3 git, 4 rresult, 5 bigstringaf, 6 fmt, 7 bos, 8 fpath, 9 uri, 10 digestif, 11 logs, 12 lwt, 13 astring, 14 cmdliner, 15 decompress, 16 domain-name, 17 ipaddr, 18 mtime, 19 tcpip, 20 mirage-flow, 21 alcotest, 22 alcotest-lwt, 23 base64, 24 cstruct, 25 ke, 26 mirage-crypto-rng, 27 git-binary, 28 mimic, 29 tls, 30 cacert, 31 happy-eyeballs-lwt, 32 git-mirage, 33}: 34 35buildDunePackage { 36 pname = "git-unix"; 37 inherit (git) version src; 38 39 minimalOCamlVersion = "4.08"; 40 41 buildInputs = [ 42 cmdliner 43 tcpip 44 ]; 45 propagatedBuildInputs = [ 46 rresult 47 bigstringaf 48 fmt 49 bos 50 fpath 51 digestif 52 logs 53 lwt 54 astring 55 decompress 56 domain-name 57 ipaddr 58 mirage-flow 59 cstruct 60 mimic 61 tls 62 git 63 happy-eyeballs-lwt 64 git-mirage 65 ]; 66 checkInputs = [ 67 alcotest 68 alcotest-lwt 69 base64 70 ke 71 mirage-crypto-rng 72 uri 73 mtime 74 cacert # sets up NIX_SSL_CERT_FILE 75 ]; 76 nativeCheckInputs = [ git-binary ]; 77 doCheck = true; 78 79 meta = { 80 description = "Unix backend for the Git protocol(s)"; 81 inherit (git.meta) homepage license maintainers; 82 }; 83}