aboutsummaryrefslogtreecommitdiffstats
path: root/deps/plebeia.nix
blob: 559d8bc2f7d7add22353955c1dc755ce77a37ec6 (plain) (blame)
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
36
37
38
{ lib, ocamlPackages, fetchFromGitLab, blake2 }:
ocamlPackages.buildDunePackage {
  duneVersion = "3";

  pname = "plebeia";
  version = "2.2.0";

  minimalOCamlVersion = "4.08";

  src = fetchFromGitLab {
    owner = "dailambda";
    repo = "plebeia";
    rev = "2.2.0";
    sha256 = "sha256-F1/FcCR0gn2kGNps3P4KRrqJlr4skHcuMytIRp4QRac=";
  };

  buildInputs = [ blake2 ] ++ (with ocamlPackages; [
    cstruct
    stdint
    res
    lwt
  ]);

  propagatedBuildInputs = [ blake2 ] ++ (with ocamlPackages; [
    cstruct
    stdint
    res
    lwt
  ]);

  doCheck = false;

  meta = {
    description = "Functional Merkle Patricia tree with disk storage";
    license = lib.licenses.mit;
    homepage = "https://github.com/camlspotter/plebeia";
  };
}