aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix b/nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix
index 50e6f1d3bce..0633b8af8f0 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix
@@ -1,11 +1,17 @@
-{ buildDunePackage, git-http, cohttp-lwt-unix, tls, cmdliner, mtime }:
+{ stdenv, buildDunePackage, git-http, cohttp, cohttp-lwt-unix
+, mmap, cmdliner, mtime, alcotest, mirage-crypto-rng, tls
+, io-page, git-binary
+}:
buildDunePackage {
pname = "git-unix";
- inherit (git-http) version src;
+ inherit (git-http) version src minimumOCamlVersion;
- buildInputs = [ cmdliner mtime ];
- propagatedBuildInputs = [ cohttp-lwt-unix git-http tls ];
+ useDune2 = true;
+
+ propagatedBuildInputs = [ mmap cmdliner git-http cohttp cohttp-lwt-unix mtime ];
+ checkInputs = [ alcotest mirage-crypto-rng tls io-page git-binary ];
+ doCheck = !stdenv.isAarch64;
meta = {
description = "Unix backend for the Git protocol(s)";