ocamlPackages.uchar: migrate to finalAttrs

Assisted-by: claude-opus-4-8
This commit is contained in:
Dmitry Bogatov
2026-10-10 12:32:55 +00:00
parent 83fc6bfe99
commit 392ec153e5

View File

@@ -9,12 +9,12 @@
lib,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ocaml${ocaml.version}-uchar";
version = "0.0.2";
src = fetchurl {
url = "https://github.com/ocaml/uchar/releases/download/v${version}/uchar-${version}.tbz";
url = "https://github.com/ocaml/uchar/releases/download/v${finalAttrs.version}/uchar-${finalAttrs.version}.tbz";
hash = "sha256-Rzl/MWy+diNK9Tx0oflFIVS6O9tU/O1cqslZ9Q9XWvA=";
};
@@ -35,4 +35,4 @@ stdenv.mkDerivation rec {
inherit (ocaml.meta) platforms license;
maintainers = [ lib.maintainers.vbgl ];
};
}
})