2019-10-08 21:54:25 +02:00
|
|
|
{ lib, fetchurl, buildDunePackage, psq }:
|
2017-12-05 19:12:56 +01:00
|
|
|
|
2019-10-08 21:54:25 +02:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "lru";
|
|
|
|
version = "0.3.0";
|
2017-12-05 19:12:56 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-10-08 21:54:25 +02:00
|
|
|
url = "https://github.com/pqwy/lru/releases/download/v${version}/lru-v${version}.tbz";
|
|
|
|
sha256 = "1ab9rd7cq15ml8x0wjl44wy99h5z7x4g9vkkz4i2d7n84ghy7vw4";
|
2017-12-05 19:12:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ psq ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/pqwy/lru";
|
|
|
|
description = "Scalable LRU caches for OCaml";
|
2019-10-08 21:54:25 +02:00
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
license = lib.licenses.isc;
|
2017-12-05 19:12:56 +01:00
|
|
|
};
|
|
|
|
}
|