depot/third_party/nixpkgs/pkgs/development/ocaml-modules/git/mirage.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

97 lines
1.2 KiB
Nix

{ 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";
duneVersion = "3";
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";
};
}