From 781b4e42fa6bba8ee423819ab70cddafdbbe7e7f Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sat, 21 Mar 2026 13:09:10 +0100 Subject: [PATCH] python3Packages.pyrogram: drop pyrogram was archived upstream in December 2024 [1]. [1] https://github.com/pyrogram/pyrogram --- .../python-modules/pyrogram/default.nix | 46 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 pkgs/development/python-modules/pyrogram/default.nix diff --git a/pkgs/development/python-modules/pyrogram/default.nix b/pkgs/development/python-modules/pyrogram/default.nix deleted file mode 100644 index d0175881af3d..000000000000 --- a/pkgs/development/python-modules/pyrogram/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - pyaes, - pysocks, - pytestCheckHook, - pytest-asyncio, -}: - -buildPythonPackage rec { - pname = "pyrogram"; - version = "2.0.106"; - - format = "setuptools"; - - src = fetchFromGitHub { - owner = "pyrogram"; - repo = "pyrogram"; - rev = "v${version}"; - hash = "sha256-W/t3v5q0s+ba0Uly+JUaJl75uDQGeFaj2zDKGRMIMow="; - }; - - propagatedBuildInputs = [ - pyaes - pysocks - ]; - - nativeCheckInputs = [ - pytestCheckHook - pytest-asyncio - ]; - - pythonImportsCheck = [ - "pyrogram" - "pyrogram.errors" - "pyrogram.types" - ]; - - meta = { - description = "Telegram MTProto API Client Library and Framework for Python"; - homepage = "https://github.com/pyrogram/pyrogram"; - 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 84e1ccfe58b2..c95ffb861ac1 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -415,6 +415,7 @@ mapAliases { pyRFC3339 = throw "'pyRFC3339' has been renamed to/replaced by 'pyrfc3339'"; # Converted to throw 2025-10-29 Pyro4 = throw "'Pyro4' has been renamed to/replaced by 'pyro4'"; # Converted to throw 2025-10-29 Pyro5 = throw "'Pyro5' has been renamed to/replaced by 'pyro5'"; # Converted to throw 2025-10-29 + pyrogram = throw "'pyrogram' has been removed as it was archived upstream"; # Added 2026-03-21 pyrr = throw "pyrr has been removed because it is incompatible with NumPy 2.0+"; # Added 2026-02-18 PyRSS2Gen = throw "'PyRSS2Gen' has been renamed to/replaced by 'pyrss2gen'"; # Converted to throw 2025-10-29 pyside6-fluent-widgets = throw "pyside6-fluent-widgets has been removed, since it is unmaintained"; # added 2025-08-20 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 654eea281109..16114091f051 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14813,8 +14813,6 @@ self: super: with self; { pyroaring = callPackage ../development/python-modules/pyroaring { }; - pyrogram = callPackage ../development/python-modules/pyrogram { }; - pyroma = callPackage ../development/python-modules/pyroma { }; pyroute2 = callPackage ../development/python-modules/pyroute2 { };