ocamlPackages.bwd: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-21 17:22:39 -06:00
parent 0e463776d7
commit 836946d4bd
@@ -5,7 +5,7 @@
qcheck-core,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "bwd";
version = "2.3.0";
@@ -15,7 +15,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "RedPRL";
repo = "ocaml-bwd";
rev = version;
rev = finalAttrs.version;
hash = "sha256-rzn0U/D6kPNsH5hBTElc3d1jfKbgKbjA2JHicpaJtu4=";
};
@@ -25,8 +25,8 @@ buildDunePackage rec {
meta = {
description = "Backward Lists";
homepage = "https://github.com/RedPRL/ocaml-bwd";
changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${version}/CHANGELOG.markdown";
changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${finalAttrs.version}/CHANGELOG.markdown";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.vbgl ];
};
}
})