summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ocsipersist/lib.nix
blob: d498b0e41eb2fb8aa07f6b334dd5ab935375305c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  js_of_ocaml,
  lwt_ppx,
  lwt,
}:

buildDunePackage (finalAttrs: {
  pname = "ocsipersist-lib";
  version = "2.1.0";

  minimalOCamlVersion = "4.13";

  src = fetchFromGitHub {
    owner = "ocsigen";
    repo = "ocsipersist";
    tag = finalAttrs.version;
    hash = "sha256-YJzfgeyNXgBXAK607ROUXUmSpMKYx63ofZaBB8dnsq4=";
  };

  buildInputs = [ lwt_ppx ];
  propagatedBuildInputs = [
    js_of_ocaml
    lwt
  ];

  meta = {
    description = "Persistent key/value storage (for Ocsigen) - support library";
    license = lib.licenses.lgpl21Only;
    maintainers = [ lib.maintainers.vbgl ];
    homepage = "https://github.com/ocsigen/ocsipersist/";
  };
})