gnu: python-pycryptodomex: Inherit from python-pycryptodome.

* gnu/packages/python-crypto.scm (python-pycryptodomex): Inherit from
python-pycryptodome.
[build-system, home-page, synopsis, license]: Remove redundant fields.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-15 00:28:36 +01:00
parent bb2d1dae20
commit cbfa23c74e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1042,18 +1042,15 @@ (define-public python2-pycryptodome
(package-with-python2 python-pycryptodome))
(define-public python-pycryptodomex
(package
(package (inherit python-pycryptodome)
(name "python-pycryptodomex")
(version "3.9.9")
(version (package-version python-pycryptodome))
(source
(origin
(method url-fetch)
(uri (pypi-uri "pycryptodomex" version))
(sha256
(base32 "0lbx4qk3xmwqiidhmkj8qa7bh2lf8bwzg0xjpsh2w5zqjrc7qnvv"))))
(build-system python-build-system)
(home-page "https://www.pycryptodome.org")
(synopsis "Low-level cryptographic Python library")
(description
"PyCryptodome is a self-contained Python package of low-level
cryptographic primitives. It's not a wrapper to a separate C library like
@ -1088,9 +1085,7 @@ (define-public python-pycryptodomex
@end itemize
PyCryptodomex is the stand-alone version of PyCryptodome that no longer
provides drop-in compatibility with PyCrypto.")
(license (list license:bsd-2
license:public-domain)))) ; code inherited from PyCrypto
provides drop-in compatibility with PyCrypto.")))
(define-public python-m2crypto
(package