python3Packages.{pyrogram,tgcrypto}: drop (#501926)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
@@ -548,6 +549,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
|
||||
|
||||
@@ -14815,8 +14815,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 { };
|
||||
@@ -19213,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 { };
|
||||
|
||||
Reference in New Issue
Block a user