ocamlPackages.redis: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:45 -05:00
parent 9c02628f2e
commit 6bf0fe8df9
@@ -7,14 +7,14 @@
uuidm,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "redis";
version = "0.8";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/0xffea/ocaml-redis/releases/download/v${version}/redis-${version}.tbz";
url = "https://github.com/0xffea/ocaml-redis/releases/download/v${finalAttrs.version}/redis-${finalAttrs.version}.tbz";
hash = "sha256-Cli30Elur3tL/0bWK6PBBy229TK4jsQnN/0oVQux01I=";
};
@@ -31,4 +31,4 @@ buildDunePackage rec {
license = lib.licenses.bsd3;
homepage = "https://github.com/0xffea/ocaml-redis";
};
}
})