ocamlPackages.gluon: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:36:28 -05:00
parent d37761e92d
commit a1e2a3b104
@@ -10,14 +10,14 @@
uri,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "gluon";
version = "0.0.9";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/riot-ml/gluon/releases/download/${version}/gluon-${version}.tbz";
url = "https://github.com/riot-ml/gluon/releases/download/${finalAttrs.version}/gluon-${finalAttrs.version}.tbz";
hash = "sha256-YWJCPokY1A7TGqCGoxJl14oKDVeMNybEEB7KiK92WSo=";
};
@@ -40,8 +40,8 @@ buildDunePackage rec {
meta = {
description = "Minimal, portable, and fast API on top of the operating-system's evented I/O API";
homepage = "https://github.com/riot-ml/gluon";
changelog = "https://github.com/riot-ml/gluon/blob/${version}/CHANGES.md";
changelog = "https://github.com/riot-ml/gluon/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})