gnu: python-cryptography: Update to 40.0.2.

* gnu/packages/python-crypto.scm (python-cryptography): Update to 40.0.2.
(python-cryptography-rust)[cargo-inputs]: Move rust-cc-1 here from
cargo-development-inputs.
[cargo-development-inputs]: Remove field.
This commit is contained in:
Efraim Flashner 2023-05-11 18:20:16 +03:00
parent a3ba943b6f
commit a91628366a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -495,14 +495,14 @@ (define-public python-cryptography-vectors
(define-public python-cryptography
(package
(name "python-cryptography")
(version "40.0.1")
(version "40.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cryptography" version))
(sha256
(base32
"0wilrilfcyl78caxcpna2k3aya6qamppwv4j35262pz9n7wg40r8"))))
"16awbsm13vdksm98dybwvmpy2y1l636bq7g0s93scksrp0r0sg63"))))
(build-system pyproject-build-system)
(arguments
(list
@ -585,6 +585,7 @@ (define-public python-cryptography-rust
(string-append #$output "/lib")))))
#:cargo-inputs
`(("rust-asn1-0.13" ,rust-asn1-0.13)
("rust-cc" ,rust-cc-1)
("rust-chrono-0.4" ,rust-chrono-0.4)
("rust-foreign-types-shared-0.1" ,rust-foreign-types-shared-0.1)
("rust-once-cell-1" ,rust-once-cell-1)
@ -592,9 +593,7 @@ (define-public python-cryptography-rust
("rust-openssl-sys-0.9" ,rust-openssl-sys-0.9)
("rust-ouroboros-0.15" ,rust-ouroboros-0.15)
("rust-pem-1" ,rust-pem-1)
("rust-pyo3-0.15" ,rust-pyo3-0.15))
#:cargo-development-inputs
`(("rust-cc" ,rust-cc-1))))
("rust-pyo3-0.15" ,rust-pyo3-0.15))))
(native-inputs (list pkg-config python python-cffi))
;; XXX: Adding rust-openssl-sys-0.9 is needed because #:cargo-inputs
;; doesn't honor propagated-inputs.