Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, fetchurl, buildDunePackage, repr, ppx_repr, fmt, logs, mtime, stdlib-shims, cmdliner, progress, semaphore-compat, optint, alcotest, crowbar, re, lru,}:
buildDunePackage rec { pname = "index"; version = "1.6.2";
src = fetchurl { url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz"; hash = "sha256-k4iDUJik7UTuztBw7YaFXASd8SqYMR1JgLm3JOyriGA="; };
# Compatibility with logs 0.8.0 postPatch = '' substituteInPlace test/unix/dune --replace-warn logs.fmt 'logs.fmt logs.threaded' '';
minimalOCamlVersion = "4.08";
buildInputs = [ stdlib-shims ]; propagatedBuildInputs = [ cmdliner fmt logs mtime ppx_repr progress repr semaphore-compat optint lru ];
checkInputs = [ alcotest crowbar re ]; doCheck = true;
meta = with lib; { description = "Platform-agnostic multi-level index"; homepage = "https://github.com/mirage/index"; license = licenses.mit; maintainers = with maintainers; [ vbgl ]; };}