From 016884bc4742bce06b3444a64b8972b832abeda8 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 24 Oct 2025 14:06:33 +0100 Subject: gnu: python-rsa: Move to python-crypto. * gnu/packages/python-xyz.scm (python-rsa): Move from here ... * gnu/packages/python-crypto.scm: ... to here. Change-Id: I374bc70c4bbab48979f2b4b80505a1ad79545437 --- gnu/packages/python-crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 7edbd717844..63b25bd913b 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1233,6 +1233,34 @@ passwords. It can be used to implement two-factor (2FA) or multi-factor require users to log in.") (license license:expat))) +;; XXX: This project was archived by the owner on Apr 20, 2025. It is now +;; read-only. Consider to remove when starts failing to build and nothing +;; depends on it. +(define-public python-rsa + (package + (name "python-rsa") + (version "4.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rsa" version)) + (sha256 + (base32 "0xdfs3mhdb9wjpckj7i4zyv9sr82m7hk0mfkvw3lrnlpakdvzgg7")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;tests are not included in PyPI archive + (native-inputs + (list python-poetry-core)) + (propagated-inputs + (list python-pyasn1)) + (home-page "https://stuvel.eu/rsa") + (synopsis "Pure-Python RSA implementation") + (description "Python-RSA is a pure-Python RSA implementation. It supports +encryption and decryption, signing and verifying signatures, and key +generation according to PKCS#1 version 1.5. It can be used as a Python +library as well as on the command line.") + (license license:asl2.0))) + (define-public python-scrypt (package (name "python-scrypt") -- cgit v1.3