From 5647015589d95d2d3b3f07b4891a83ac8a5c06de Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sat, 21 Mar 2026 13:07:37 +0100 Subject: [PATCH] python3Packages.tgcrypto: drop tgcrypto was archived upstream in December 2024 [1]. [1] https://github.com/pyrogram/tgcrypto --- .../python-modules/tgcrypto/default.nix | 34 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 -- 3 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 pkgs/development/python-modules/tgcrypto/default.nix diff --git a/pkgs/development/python-modules/tgcrypto/default.nix b/pkgs/development/python-modules/tgcrypto/default.nix deleted file mode 100644 index e1ae2e03cec3..000000000000 --- a/pkgs/development/python-modules/tgcrypto/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, - pytestCheckHook, -}: - -buildPythonPackage rec { - pname = "tgcrypto"; - version = "1.2.5"; - - pyproject = true; - - src = fetchFromGitHub { - owner = "pyrogram"; - repo = "tgcrypto"; - tag = "v${version}"; - hash = "sha256-u+mXzkmM79NBi4oHnb32RbN9WPnba/cm1q2Ko0uNEZg="; - }; - - nativeBuildInputs = [ setuptools ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - pythonImportsCheck = [ "tgcrypto" ]; - - meta = { - description = "Fast and Portable Telegram Crypto Library for Python"; - homepage = "https://github.com/pyrogram/tgcrypto"; - license = lib.licenses.lgpl3Plus; - maintainers = with lib.maintainers; [ dotlambda ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index b740bfcb3cf5..84e1ccfe58b2 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -548,6 +548,7 @@ mapAliases { tensorflow-tensorboard = throw "'tensorflow-tensorboard' has been renamed to/replaced by 'tensorboard'"; # Converted to throw 2025-10-29 tensorflow-tensorboard_2 = throw "'tensorflow-tensorboard_2' has been renamed to/replaced by 'tensorflow-tensorboard'"; # Converted to throw 2025-10-29 testing-postgresql = throw "testing-postgresql has been removed, since it is unmaintained since 2017"; # added 2025-05-25 + tgcrypto = throw "'tgcrypto' has been removed as it was archived upstream"; # Added 2026-03-21 Theano = throw "'Theano' has been renamed to/replaced by 'theano'"; # Converted to throw 2025-10-29 TheanoWithCuda = throw "'TheanoWithCuda' has been renamed to/replaced by 'theanoWithCuda'"; # Converted to throw 2025-10-29 TheanoWithoutCuda = throw "'TheanoWithoutCuda' has been renamed to/replaced by 'theanoWithoutCuda'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d63ceadbc1cb..654eea281109 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -19211,8 +19211,6 @@ self: super: with self; { tftpy = callPackage ../development/python-modules/tftpy { }; - tgcrypto = callPackage ../development/python-modules/tgcrypto { }; - thefuzz = callPackage ../development/python-modules/thefuzz { }; thelogrus = callPackage ../development/python-modules/thelogrus { };