From 578d5e941d5311ca50c99edbb52162840bf96cfb Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Thu, 4 May 2023 23:05:14 +0200 Subject: [PATCH] tclx: 8.4.1 -> 8.6.1 Move to flightaware fork, seems to be what everyone is using --- pkgs/development/libraries/tclx/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/tclx/default.nix b/pkgs/development/libraries/tclx/default.nix index 1207c0d5100..a31777fed9d 100644 --- a/pkgs/development/libraries/tclx/default.nix +++ b/pkgs/development/libraries/tclx/default.nix @@ -1,12 +1,17 @@ -{ lib, fetchurl, tcl }: +{ lib +, fetchFromGitHub +, tcl +}: tcl.mkTclDerivation rec { pname = "tclx"; - version = "8.4.1"; + version = "8.6.1"; - src = fetchurl { - url = "mirror://sourceforge/tclx/tclx${version}.tar.bz2"; - sha256 = "1v2qwzzidz0is58fd1p7wfdbscxm3ip2wlbqkj5jdhf6drh1zd59"; + src = fetchFromGitHub { + owner = "flightaware"; + repo = "tclx"; + rev = "v${version}"; + hash = "sha256-HdbuU0IR8q/0g2fIs1xtug4oox/D24C8E2VbEJC5B1A="; }; # required in order for tclx to properly detect tclx.tcl at runtime @@ -17,7 +22,7 @@ tcl.mkTclDerivation rec { ''; meta = { - homepage = "https://tclx.sourceforge.net/"; + homepage = "https://github.com/flightaware/tclx"; description = "Tcl extensions"; license = lib.licenses.tcltk; maintainers = with lib.maintainers; [ kovirobi fgaz ];