1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/index/default.nix

47 lines
909 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage
, repr, ppx_repr, fmt, logs, mtime, stdlib-shims
, cmdliner, progress, semaphore-compat
, alcotest, crowbar, re
}:
2019-12-09 10:28:48 +00:00
buildDunePackage rec {
pname = "index";
2021-06-06 10:03:42 +01:00
version = "1.3.1";
2019-12-09 10:28:48 +00:00
src = fetchurl {
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
2021-06-06 10:03:42 +01:00
sha256 = "sha256-ycZi/TFLoGRloSpjYqH5FCHWP3eyiTCIDLESEn5inuI=";
2019-12-09 10:28:48 +00:00
};
2021-06-06 10:03:42 +01:00
minimumOCamlVersion = "4.08";
useDune2 = true;
buildInputs = [
stdlib-shims
];
propagatedBuildInputs = [
2021-06-06 10:03:42 +01:00
cmdliner
fmt
logs
mtime
ppx_repr
progress
repr
semaphore-compat
];
2021-06-06 10:03:42 +01:00
checkInputs = [
alcotest
crowbar
re
];
doCheck = true;
2019-12-09 10:28:48 +00:00
2021-06-06 10:03:42 +01:00
meta = with lib; {
2019-12-09 10:28:48 +00:00
description = "A platform-agnostic multi-level index";
2021-06-06 10:03:42 +01:00
homepage = "https://github.com/mirage/index";
license = licenses.mit;
maintainers = with maintainers; [ vbgl ];
2019-12-09 10:28:48 +00:00
};
}