ocamlPackages.bindlib: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-21 17:22:32 -06:00
parent 278438e1d8
commit 1e2480abbc
@@ -6,7 +6,7 @@
timed,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "bindlib";
version = "6.0.0";
@@ -14,8 +14,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "rlepigre";
repo = "ocaml-${pname}";
rev = version;
repo = "ocaml-bindlib";
rev = finalAttrs.version;
hash = "sha256-058yMbz9ExvgNG/kY9tPk70XSeVRSSKVg4n4F4fmPu4=";
};
@@ -29,7 +29,7 @@ buildDunePackage rec {
homepage = "https://rlepigre.github.io/ocaml-bindlib";
description = "Efficient binder representation in Ocaml";
license = lib.licenses.gpl3;
changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${version}/CHANGELOG.md";
changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${finalAttrs.version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
})