ocamlPackags.redis: init at 0.8

This commit is contained in:
Marijan Petričević 2025-07-07 13:45:07 -05:00 committed by Vincent Laporte
parent 3a84f03c14
commit fd9a920f35
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{
lib,
fetchurl,
buildDunePackage,
re,
stdlib-shims,
uuidm,
}:
buildDunePackage rec {
pname = "redis";
version = "0.8";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/0xffea/ocaml-redis/releases/download/v${version}/redis-${version}.tbz";
hash = "sha256-Cli30Elur3tL/0bWK6PBBy229TK4jsQnN/0oVQux01I=";
};
propagatedBuildInputs = [
re
stdlib-shims
uuidm
];
doCheck = true;
meta = {
description = "Redis client";
license = lib.licenses.bsd3;
homepage = "https://github.com/0xffea/ocaml-redis";
};
}

View File

@ -1798,6 +1798,8 @@ let
rebez = callPackage ../development/ocaml-modules/rebez { };
redis = callPackage ../development/ocaml-modules/redis/default.nix { };
reperf = callPackage ../development/ocaml-modules/reperf { };
repr = callPackage ../development/ocaml-modules/repr { };