From 1eb442ad16316b5d98d8f39ca5e1a6ed6fd3cbcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Maret?= Date: Thu, 26 Dec 2024 17:17:32 +0100 Subject: [PATCH] Use a stable download link --- pkgs/by-name/im/imager/package.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/im/imager/package.nix b/pkgs/by-name/im/imager/package.nix index 3496c3076c337..2b5535f636e50 100644 --- a/pkgs/by-name/im/imager/package.nix +++ b/pkgs/by-name/im/imager/package.nix @@ -26,12 +26,16 @@ let in stdenv.mkDerivation rec { + srcVersion = "dec24"; version = "4.4-01"; pname = "imager"; src = fetchurl { - url = "https://dave.oasu.u-bordeaux.fr:5000/5964614a-44f2-47fd-ba18-5f155543044e/imager-last.tgz"; - hash = "sha256-cIgsj/OYzi8UZc9Gk/0bN3vHD8Kh+y1+EAPzM4J7t+4="; + # The recommended download link is on Nextcloud instance that + # requires to accept some general terms of use. Use a mirror at + # univ-grenoble-alpes.fr instead. + url = "https://cloud.univ-grenoble-alpes.fr/s/J6yEqA6yZ8tX9da/download?path=%2F&files=imager-${srcVersion}.tar.gz"; + hash = "sha256-Pq92IsGY4heekm5zNGngnp6J6YiCHYAyuMT2RsD1/9o="; }; nativeBuildInputs = [