nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 48 lines 949 B view raw
1{ lib, fetchurl, buildDunePackage 2, repr, ppx_repr, fmt, logs, mtime, stdlib-shims 3, cmdliner, progress, semaphore-compat, optint 4, alcotest, crowbar, re, lru 5}: 6 7buildDunePackage rec { 8 pname = "index"; 9 version = "1.6.0"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz"; 13 sha256 = "sha256:150mcsh8vj2hapfnxbjmacanjy4avrv8yk1lyaxmqj3fpmn1y32y"; 14 }; 15 16 minimalOCamlVersion = "4.08"; 17 useDune2 = true; 18 19 buildInputs = [ 20 stdlib-shims 21 ]; 22 propagatedBuildInputs = [ 23 cmdliner 24 fmt 25 logs 26 mtime 27 ppx_repr 28 progress 29 repr 30 semaphore-compat 31 optint 32 lru 33 ]; 34 35 checkInputs = [ 36 alcotest 37 crowbar 38 re 39 ]; 40 doCheck = true; 41 42 meta = with lib; { 43 description = "A platform-agnostic multi-level index"; 44 homepage = "https://github.com/mirage/index"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ vbgl ]; 47 }; 48}