nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 re,
6 stdlib-shims,
7 uuidm,
8}:
9
10buildDunePackage rec {
11 pname = "redis";
12 version = "0.8";
13
14 minimalOCamlVersion = "4.03";
15
16 src = fetchurl {
17 url = "https://github.com/0xffea/ocaml-redis/releases/download/v${version}/redis-${version}.tbz";
18 hash = "sha256-Cli30Elur3tL/0bWK6PBBy229TK4jsQnN/0oVQux01I=";
19 };
20
21 propagatedBuildInputs = [
22 re
23 stdlib-shims
24 uuidm
25 ];
26
27 doCheck = true;
28
29 meta = {
30 description = "Redis client";
31 license = lib.licenses.bsd3;
32 homepage = "https://github.com/0xffea/ocaml-redis";
33 };
34}