summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-02 10:36:47 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:02 +0300
commit424e0ea4e5f093f20af322e8e54a86f984881591 (patch)
tree5eaa4cf157ef991c558a60bb1bdb49e673c38b25 /gnu/packages/python-crypto.scm
parent227f4cacf6d93318dd322b675d41e311cee1f4f6 (diff)
gnu: python-cryptography: Update to 41.0.4.
* gnu/packages/python-crypto.scm (python-cryptography): Update to 41.0.4. (python-cryptography-rust)[arguments]: Don't install source. [cargo-inputs]: Add rust-foreign-types-0.3 Replace rust-asn1-0.13 with 0.15, rust-pyo3-0.15 with 0.18. Remove rust-chrono-0.4.
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm23
1 files changed, 12 insertions, 11 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 0a4155770bf..e28d1de837d 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -506,14 +506,14 @@ is used by the Requests library to verify HTTPS requests.")
506(define-public python-cryptography 506(define-public python-cryptography
507 (package 507 (package
508 (name "python-cryptography") 508 (name "python-cryptography")
509 (version "40.0.2") 509 (version "41.0.4")
510 (source 510 (source
511 (origin 511 (origin
512 (method url-fetch) 512 (method url-fetch)
513 (uri (pypi-uri "cryptography" version)) 513 (uri (pypi-uri "cryptography" version))
514 (sha256 514 (sha256
515 (base32 515 (base32
516 "16awbsm13vdksm98dybwvmpy2y1l636bq7g0s93scksrp0r0sg63")))) 516 "06pm952pr6f31pzwh5fb68zryqyss0hg9cbggxm15z15844w7svz"))))
517 (build-system pyproject-build-system) 517 (build-system pyproject-build-system)
518 (arguments 518 (arguments
519 (list 519 (list
@@ -568,6 +568,7 @@ ciphers, message digests and key derivation functions.")
568 (guix build utils) 568 (guix build utils)
569 (srfi srfi-1) 569 (srfi srfi-1)
570 (ice-9 match)) 570 (ice-9 match))
571 #:install-source? #f
571 #:phases 572 #:phases
572 #~(modify-phases %standard-phases 573 #~(modify-phases %standard-phases
573 (add-after 'unpack 'chdir 574 (add-after 'unpack 'chdir
@@ -595,16 +596,16 @@ ciphers, message digests and key derivation functions.")
595 (install-file "target/release/libcryptography_rust.so" 596 (install-file "target/release/libcryptography_rust.so"
596 (string-append #$output "/lib"))))) 597 (string-append #$output "/lib")))))
597 #:cargo-inputs 598 #:cargo-inputs
598 `(("rust-asn1-0.13" ,rust-asn1-0.13) 599 `(("rust-asn1" ,rust-asn1-0.15)
599 ("rust-cc" ,rust-cc-1) 600 ("rust-cc" ,rust-cc-1)
600 ("rust-chrono-0.4" ,rust-chrono-0.4) 601 ("rust-foreign-types" ,rust-foreign-types-0.3)
601 ("rust-foreign-types-shared-0.1" ,rust-foreign-types-shared-0.1) 602 ("rust-foreign-types-shared" ,rust-foreign-types-shared-0.1)
602 ("rust-once-cell-1" ,rust-once-cell-1) 603 ("rust-once-cell" ,rust-once-cell-1)
603 ("rust-openssl-0.10" ,rust-openssl-0.10) 604 ("rust-openssl" ,rust-openssl-0.10)
604 ("rust-openssl-sys-0.9" ,rust-openssl-sys-0.9) 605 ("rust-openssl-sys" ,rust-openssl-sys-0.9)
605 ("rust-ouroboros-0.15" ,rust-ouroboros-0.15) 606 ("rust-ouroboros" ,rust-ouroboros-0.15)
606 ("rust-pem-1" ,rust-pem-1) 607 ("rust-pem" ,rust-pem-1)
607 ("rust-pyo3-0.15" ,rust-pyo3-0.15)))) 608 ("rust-pyo3" ,rust-pyo3-0.18))))
608 (native-inputs (list pkg-config python python-cffi)) 609 (native-inputs (list pkg-config python python-cffi))
609 ;; XXX: Adding rust-openssl-sys-0.9 is needed because #:cargo-inputs 610 ;; XXX: Adding rust-openssl-sys-0.9 is needed because #:cargo-inputs
610 ;; doesn't honor propagated-inputs. 611 ;; doesn't honor propagated-inputs.