Loading pkgs/by-name/cl/cloudflare-cli/package.nix +10 −3 Original line number Diff line number Diff line Loading @@ -6,31 +6,38 @@ yarnConfigHook, yarnInstallHook, nodejs, makeBinaryWrapper, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "cloudflare-cli"; version = "4.2.0"; version = "5.0.5"; src = fetchFromGitHub { owner = "danielpigott"; repo = "cloudflare-cli"; tag = "v${finalAttrs.version}"; hash = "sha256-cT+cMekXhHKfFi+dH1dCA/YNBSyYePJIZBSkDMPZZ14="; hash = "sha256-+QlSKXkGXc72FCQAlfZnBK5tQ1jbpICxR1Xe73RSgbk="; }; yarnOfflineCache = fetchYarnDeps { yarnLock = finalAttrs.src + "/yarn.lock"; hash = "sha256-0SFXgaLQE/MkqC9id7DAiP422tEyTt2gpgpIdXViFBI="; hash = "sha256-pPM2lKjSS6sFj5R+eaXT2mXoCQouq4UleCN1IQilnnw="; }; nativeBuildInputs = [ yarnConfigHook yarnInstallHook nodejs makeBinaryWrapper ]; postInstall = '' wrapProgram $out/bin/cfcli \ --chdir $out/lib/node_modules/cloudflare-cli ''; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck Loading Loading
pkgs/by-name/cl/cloudflare-cli/package.nix +10 −3 Original line number Diff line number Diff line Loading @@ -6,31 +6,38 @@ yarnConfigHook, yarnInstallHook, nodejs, makeBinaryWrapper, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "cloudflare-cli"; version = "4.2.0"; version = "5.0.5"; src = fetchFromGitHub { owner = "danielpigott"; repo = "cloudflare-cli"; tag = "v${finalAttrs.version}"; hash = "sha256-cT+cMekXhHKfFi+dH1dCA/YNBSyYePJIZBSkDMPZZ14="; hash = "sha256-+QlSKXkGXc72FCQAlfZnBK5tQ1jbpICxR1Xe73RSgbk="; }; yarnOfflineCache = fetchYarnDeps { yarnLock = finalAttrs.src + "/yarn.lock"; hash = "sha256-0SFXgaLQE/MkqC9id7DAiP422tEyTt2gpgpIdXViFBI="; hash = "sha256-pPM2lKjSS6sFj5R+eaXT2mXoCQouq4UleCN1IQilnnw="; }; nativeBuildInputs = [ yarnConfigHook yarnInstallHook nodejs makeBinaryWrapper ]; postInstall = '' wrapProgram $out/bin/cfcli \ --chdir $out/lib/node_modules/cloudflare-cli ''; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck Loading