diff --git a/pkgs/development/ocaml-modules/callipyge/default.nix b/pkgs/development/ocaml-modules/callipyge/default.nix index 40a3caaa61ce..d2037ab911f5 100644 --- a/pkgs/development/ocaml-modules/callipyge/default.nix +++ b/pkgs/development/ocaml-modules/callipyge/default.nix @@ -7,12 +7,12 @@ fmt, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "callipyge"; version = "0.2"; src = fetchurl { - url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz"; + url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${finalAttrs.version}/callipyge-${finalAttrs.version}.tbz"; hash = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0="; }; @@ -34,4 +34,4 @@ buildDunePackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ fufexan ]; }; -} +})