mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 08:00:59 +00:00
ocamlPackages.uchar: migrate to finalAttrs
Assisted-by: claude-opus-4-8
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user