Unverified Commit 56470155 authored by Tom Hunze's avatar Tom Hunze
Browse files

python3Packages.tgcrypto: drop

tgcrypto was archived upstream in December 2024 [1].

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