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