summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ringo/default.nix
blob: 7bfd38b869dab2077ab90f3332d3988f532aa736 (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
{ lib, fetchFromGitLab, buildDunePackage }:

buildDunePackage rec {
  pname = "ringo";
  version = "0.5";

  src = fetchFromGitLab {
    owner = "nomadic-labs";
    repo = "ringo";
    rev = "v${version}";
    sha256 = "1zwha0ycv3rm3qnw7nkg2m08ibx39yxnx5fan4lnn82b0pdasjag";
  };

  minimalOCamlVersion = "4.05";

  useDune2 = true;

  doCheck = true;

  # If we just run the test as is it will try to test ringo-lwt
  checkPhase = "dune build @test/runtest";

  meta = {
    description = "Caches (bounded-size key-value stores) and other bounded-size stores";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.ulrikstrid ];
  };
}