ocamlPackages.redis: migrate to finalAttrs
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user