mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
gnu: python-cryptography: Downgrade to 3.4.8.
Skip dealing with the rust version for now. * gnu/packages/python-crypto.scm (python-cryptography): Rename to python-cryptography-next. Replace with python-cryptography@3.4.8. (python-cryptography-vectors): Rename to python-cryptography-vectors-next. Replace with python-cryptography-vectors@3.4.8.
This commit is contained in:
parent
7097e98586
commit
048e05b7ef
1 changed files with 37 additions and 3 deletions
|
@ -452,7 +452,7 @@ (define-public python-certifi
|
|||
(define-public python2-certifi
|
||||
(package-with-python2 python-certifi))
|
||||
|
||||
(define-public python-cryptography-vectors
|
||||
(define-public python-cryptography-vectors-next
|
||||
(package
|
||||
(name "python-cryptography-vectors")
|
||||
(version "36.0.1")
|
||||
|
@ -471,7 +471,17 @@ (define-public python-cryptography-vectors
|
|||
;; Distributed under either BSD-3 or ASL2.0
|
||||
(license (list license:bsd-3 license:asl2.0))))
|
||||
|
||||
(define-public python-cryptography
|
||||
(define-public python-cryptography-vectors
|
||||
(package
|
||||
(inherit python-cryptography-vectors-next)
|
||||
(version "3.4.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "cryptography_vectors" version))
|
||||
(sha256
|
||||
(base32 "1wl0ynh3lzhc6q59g8mybvijmnp195x7fjxlb3h3sgcraw14312c"))))))
|
||||
|
||||
(define-public python-cryptography-next
|
||||
(package
|
||||
(name "python-cryptography")
|
||||
(version "36.0.1")
|
||||
|
@ -571,7 +581,7 @@ (define-public python-cryptography
|
|||
(list python-asn1crypto python-cffi python-six python-idna
|
||||
python-iso8601))
|
||||
(native-inputs
|
||||
(list python-cryptography-vectors
|
||||
(list python-cryptography-vectors-next
|
||||
python-hypothesis
|
||||
python-pretend
|
||||
python-pytz
|
||||
|
@ -592,6 +602,30 @@ (define-public python-cryptography
|
|||
(license (list license:bsd-3 license:asl2.0))
|
||||
(properties `((python2-variant . ,(delay python2-cryptography))))))
|
||||
|
||||
(define-public python-cryptography
|
||||
(package
|
||||
(inherit python-cryptography-next)
|
||||
(version "3.4.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "cryptography" version))
|
||||
(sha256
|
||||
(base32 "072awar70cwfd2hnx0pvp1dkc7gw45mbm3wcyddvxz5frva5xk4l"))))
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-no-rust
|
||||
(lambda _
|
||||
(setenv "CRYPTOGRAPHY_DONT_BUILD_RUST" "1"))))))
|
||||
(inputs (list openssl))
|
||||
(native-inputs
|
||||
(list python-cryptography-vectors
|
||||
python-hypothesis
|
||||
python-pretend
|
||||
python-pytz
|
||||
python-pytest
|
||||
python-setuptools-rust))))
|
||||
|
||||
(define-public python2-cryptography-vectors
|
||||
(package
|
||||
(inherit python-cryptography-vectors)
|
||||
|
|
Loading…
Reference in a new issue