nixpkgs/pkgs/development/ocaml-modules/index/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
918 B
Nix
Raw Normal View History

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