diff --git a/pkgs/development/ocaml-modules/binning/default.nix b/pkgs/development/ocaml-modules/binning/default.nix index e97db4daddae..90eafe19b1e8 100644 --- a/pkgs/development/ocaml-modules/binning/default.nix +++ b/pkgs/development/ocaml-modules/binning/default.nix @@ -4,14 +4,14 @@ fetchurl, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "binning"; version = "0.0.0"; minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/pveber/binning/releases/download/v${version}/binning-v${version}.tbz"; + url = "https://github.com/pveber/binning/releases/download/v${finalAttrs.version}/binning-v${finalAttrs.version}.tbz"; hash = "sha256-eG+xctsbc7lQ5pFOUtJ8rjNW/06gygwLADq7yc8Yf/c="; }; @@ -21,4 +21,4 @@ buildDunePackage rec { homepage = "https://github.com/pveber/binning/"; maintainers = [ lib.maintainers.vbgl ]; }; -} +})