nixpkgs/pkgs/development/ocaml-modules/git/mirage.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00: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
];
nativeCheckInputs = [
alcotest
alcotest-lwt
bigstringaf
logs
ke
];
meta = git.meta // {
description = "A package to use ocaml-git with MirageOS backend";
};
}