diff --git a/pkgs/development/ocaml-modules/gluon/default.nix b/pkgs/development/ocaml-modules/gluon/default.nix index 9bc4408c28ab..49daf0af5034 100644 --- a/pkgs/development/ocaml-modules/gluon/default.nix +++ b/pkgs/development/ocaml-modules/gluon/default.nix @@ -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 = [ ]; }; -} +})