2022-04-15 01:41:22 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
|
|
|
, lwt_ppx, lwt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocsipersist-lib";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
duneVersion = "3";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocsigen";
|
|
|
|
repo = "ocsipersist";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256:1d6kdcfjvrz0dl764mnyxc477aa57rvmzkg154qc915w2y1nbz9a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ lwt_ppx ];
|
|
|
|
propagatedBuildInputs = [ lwt ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Persistent key/value storage (for Ocsigen) - support library";
|
|
|
|
license = lib.licenses.lgpl21Only;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|