aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/git-unix/default.nix
blob: 0633b8af8f0532a563d63d512500f146e7d3832c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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 minimumOCamlVersion;

	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)";
		inherit (git-http.meta) homepage license maintainers;
	};
}