diff options
author | Ulrik Strid <ulrik.strid@outlook.com> | 2022-10-11 08:50:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 08:50:54 +0200 |
commit | aee04b1bed64cd205f4d24072750b878fe7d8e71 (patch) | |
tree | 88fa01edb88d30f90e06a0b7a7172b9e26cf68ca /pkgs/development/ocaml-modules/git/mirage.nix | |
parent | 4b02f74d3c217ed2438b070d49c78b97593a0ede (diff) |
ocamlPackages.git: 3.5.0 -> 3.9.1 (#188389)
* ocamlPackages.cstruct: 6.0.1 -> 6.1.1 * ocamlPackages.git: 3.5.0 -> 3.9.1 * ocamlPackages.carton: 0.4.3 -> 0.4.4 * ocamlPackages.bigstringaf: 0.7.0 -> 0.9.0 * ocamlPackages.decompress: 1.4.2 -> 1.5.1 * ocamlPackages.repr: 0.5.0 -> 0.6.0 * ocamlPackages.irmin: 2.9.1 -> 3.4.1 * ligo: 0.36.0 -> 0.47.0 ocamlPackages.ringo: 0.5 → 0.9 ocamlPackages.data-encoding: 0.4.0 → 0.5.3 ocamlPackages.bls12-381: 1.1.0 -> 3.0.0 Co-authored-by: bezmuth <benkel97@protonmail.com>
Diffstat (limited to 'pkgs/development/ocaml-modules/git/mirage.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/git/mirage.nix | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/git/mirage.nix b/pkgs/development/ocaml-modules/git/mirage.nix new file mode 100644 index 0000000000000..e7398d0d1dac6 --- /dev/null +++ b/pkgs/development/ocaml-modules/git/mirage.nix @@ -0,0 +1,95 @@ +{ lib, buildDunePackage +, git +, mimic +, mimic-happy-eyeballs +, base64 +, git-paf +, awa +, awa-mirage +, dns +, dns-client +, tls +, tls-mirage +, uri +, hex +, happy-eyeballs-mirage +, happy-eyeballs +, ca-certs-nss +, mirage-crypto +, ptime +, x509 +, cstruct +, tcpip +, domain-name +, fmt +, ipaddr +, lwt +, mirage-clock +, mirage-flow +, mirage-random +, mirage-time +, result +, rresult +, alcotest +, alcotest-lwt +, bigstringaf +, logs +, ke +}: + +buildDunePackage { + pname = "git-mirage"; + + inherit (git) version src; + + minimalOCamlVersion = "4.08"; + + buildInputs = [ + dns + dns-client + happy-eyeballs-mirage + ipaddr + mirage-random + rresult + ]; + + propagatedBuildInputs = [ + git + mimic + mimic-happy-eyeballs + base64 + git-paf + awa + awa-mirage + tls + tls-mirage + uri + hex + happy-eyeballs + ca-certs-nss + mirage-crypto + ptime + x509 + cstruct + tcpip + domain-name + fmt + lwt + mirage-clock + mirage-flow + mirage-time + result + ]; + + checkInputs = [ + alcotest + alcotest-lwt + bigstringaf + logs + ke + ]; + + meta = git.meta // { + description = "A package to use ocaml-git with MirageOS backend"; + }; +} |