Unverified Commit 781b4e42 authored by Tom Hunze's avatar Tom Hunze
Browse files

python3Packages.pyrogram: drop

pyrogram was archived upstream in December 2024 [1].

[1] https://github.com/pyrogram/pyrogram
parent 56470155
Loading
Loading
Loading
Loading
+0 −46
Original line number Diff line number Diff line
{
  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };