From 5e4c353d890bcac99028a545d0fe92340b5f7afe Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Wed, 4 Dec 2024 03:05:52 -0800 Subject: [PATCH] xeus-cling: use locally available logos to remove fragile wikimedia dependency --- .../editors/jupyter-kernels/xeus-cling/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix b/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix index b4f37ffd5fa2..751c3db697ee 100644 --- a/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix +++ b/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix @@ -72,14 +72,8 @@ let "-f" "{connection_file}" ]; language = "cpp"; - logo32 = fetchurl { - url = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/32px-ISO_C%2B%2B_Logo.svg.png"; - hash = "sha256-+TKtwXybKw4oAHfgOsDxvL4ucItPguF76HJHdFTd3s0="; - }; - logo64 = fetchurl { - url = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/64px-ISO_C%2B%2B_Logo.svg.png"; - hash = "sha256-7SjOcSaSPUHIKnjBxMdn+KSjviL69IXhX7eJsacYeGE="; - }; + logo32 = "${xeus-cling-unwrapped}/share/jupyter/kernels/xcpp17/logo-32x32.png"; + logo64 = "${xeus-cling-unwrapped}/share/jupyter/kernels/xcpp17/logo-64x64.png"; }; in