@@ -0,0 +1,28 @@
1+{ lib, fetchFromGitLab, buildDunePackage }:
2+
3+buildDunePackage rec {
4+ pname = "ringo";
5+ version = "0.5";
6+
7+ src = fetchFromGitLab {
8+ owner = "nomadic-labs";
9+ repo = "ringo";
10+ rev = "v${version}";
11+ sha256 = "1zwha0ycv3rm3qnw7nkg2m08ibx39yxnx5fan4lnn82b0pdasjag";
12+ };
13+
14+ minimalOCamlVersion = "4.05";
15+
16+ useDune2 = true;
17+
18+ doCheck = true;
19+
20+ # If we just run the test as is it will try to test ringo-lwt
21+ checkPhase = "dune build @test/runtest";
22+
23+ meta = {
24+ description = "Caches (bounded-size key-value stores) and other bounded-size stores";
25+ license = lib.licenses.mit;
26+ maintainers = [ lib.maintainers.ulrikstrid ];
27+ };
28+}