at 23.11-beta 25 lines 650 B view raw
1{ lib, fetchurl, buildDunePackage, ocaml, psq, qcheck-alcotest }: 2 3buildDunePackage rec { 4 pname = "lru"; 5 version = "0.3.1"; 6 7 duneVersion = "3"; 8 9 src = fetchurl { 10 url = "https://github.com/pqwy/lru/releases/download/v${version}/lru-${version}.tbz"; 11 hash = "sha256-bL4j0np9WyRPhpwLiBQNR/cPQTpkYu81wACTJdSyNv0="; 12 }; 13 14 propagatedBuildInputs = [ psq ]; 15 16 doCheck = lib.versionAtLeast ocaml.version "4.08"; 17 checkInputs = [ qcheck-alcotest ]; 18 19 meta = { 20 homepage = "https://github.com/pqwy/lru"; 21 description = "Scalable LRU caches for OCaml"; 22 maintainers = [ lib.maintainers.vbgl ]; 23 license = lib.licenses.isc; 24 }; 25}