guix_mirror_bot pushed a commit to branch master in repository guix. commit c31d9c9d6a98f44f09b415c5fb313b342bd38057 Author: Tomas Ortin Fernandez (quanrong) <[email protected]> AuthorDate: Fri Jul 17 11:28:37 2026 +0200
gnu: Add python-pysequoia.
* gnu/packages/python-crypto.scm (python-pysequoia): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)
[python-pysequoia]: New entry.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/python-crypto.scm | 55 +++++++++
gnu/packages/rust-crates.scm | 260 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 315 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 9ca9224a7b..4311d1787f 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -34,6 +34,7 @@
;;; Copyright © 2025 Sharlatan Hellseher <[email protected]>
;;; Copyright © 2025 Nguyễn Gia Phong <[email protected]>
;;; Copyright © 2025 Adrien 'neox' Bourmault <[email protected]>
+;;; Copyright © 2026 Tomás Ortín Fernández (quanrong) <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1372,6 +1373,60 @@ passwords. It can be used to implement two-factor (2FA)
or multi-factor
require users to log in.")
(license license:expat)))
+(define-public python-pysequoia
+ (package
+ (name "python-pysequoia")
+ (version "0.1.34")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wiktor-k/pysequoia")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0nc22al57g9amvp9ylgn08hpf0rk9lx201b8w77acrbbvwbhi5lr"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:imported-modules `(,@%cargo-build-system-modules
+ ,@%pyproject-build-system-modules)
+ #:modules '(((guix build cargo-build-system) #:prefix cargo:)
+ (guix build pyproject-build-system)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'prepare-cargo-build-system
+ (lambda args
+ (for-each
+ (lambda (phase)
+ (apply (assoc-ref cargo:%standard-phases phase)
+ #:cargo-target #$(cargo-triplet)
+ args))
+ '(unpack-rust-crates
+ configure
+ check-for-pregenerated-files
+ patch-cargo-checksums))))
+ ;; The test suite is Rust-side only. There are no unit tests for
+ ;; Python; the Python API has integration tests that require a
+ ;; bespoke tool to be run (https://github.com/wiktor-k/tangler)
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys #:rest args)
+ (when tests?
+ (apply (assoc-ref cargo:%standard-phases 'check) args)))))))
+ (native-inputs (append (list rust
+ `(,rust "cargo"))
+ (or (and=> (%current-target-system)
+ (compose list make-rust-sysroot))
+ '())))
+ (inputs (cons* maturin
+ (cargo-inputs 'python-pysequoia)))
+ (home-page "https://github.com/wiktor-k/pysequoia")
+ (synopsis "Provides OpenPGP facilities using Sequoia-PGP library")
+ (description
+ "This package provides @code{OpenPGP} facilities using Sequoia-PGP
library.")
+ (license license:asl2.0)))
+
;; 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.
diff --git a/gnu/packages/rust-crates.scm b/gnu/packages/rust-crates.scm
index 3160d41670..2d89f02e25 100644
--- a/gnu/packages/rust-crates.scm
+++ b/gnu/packages/rust-crates.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2025 Hilton Chain <[email protected]>
;;; Copyright © 2026 Daniel Khodabakhsh <[email protected]>
+;;; Copyright © 2026 Tomás Ortín Fernández (quanrong) <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24113,6 +24114,10 @@ fn main() {
(crate-source "pyo3-ffi" "0.28.3"
"07k5bxh8h2ax3v6gmb43x09wsgm003lar7pnyz57q7qbz05f2abz"))
+(define rust-pyo3-introspection-0.28.3
+ (crate-source "pyo3-introspection" "0.28.3"
+ "0dhphkzbkgn0b3vzz277n3721mr382r4d0g0bij4xi9aalj0a14n"))
+
(define rust-pyo3-log-0.12.4
(crate-source "pyo3-log" "0.12.4"
"0r12ymfv42sxacczqfvgqm01q8qcf5xnr017grc0a9ad99g2w6a5"))
@@ -30481,6 +30486,10 @@ fn main() {
(crate-source "testing_table" "0.3.0"
"1k0l036hgxmvjzr8ngc57ngkhnza3p9xh6cyc5jlz8lmk7iam38g"))
+(define rust-testresult-0.4.1
+ (crate-source "testresult" "0.4.1"
+ "0v75wyp1vq4igy73z8qxxrdrqzlgj5r0ymv15j4fz91ny27k4jv1"))
+
(define rust-text-placeholder-0.5.1
(crate-source "text_placeholder" "0.5.1"
"0svn5a2acsybgxrabp58w8abkwjxydn5jiq0xy328x099bvhhl6x"))
@@ -77273,6 +77282,257 @@ fn main() {
rust-zerofrom-derive-0.1.4
rust-zerovec-0.10.4
rust-zerovec-derive-0.10.3))
+ (python-pysequoia =>
+ (list rust-adler2-2.0.1
+ rust-aead-0.5.2
+ rust-aes-0.8.4
+ rust-aes-gcm-0.10.3
+ rust-aho-corasick-1.1.4
+ rust-android-system-properties-0.1.5
+ rust-anstream-1.0.0
+ rust-anstyle-1.0.14
+ rust-anstyle-parse-1.0.0
+ rust-anstyle-query-1.1.5
+ rust-anstyle-wincon-3.0.11
+ rust-anyhow-1.0.102
+ rust-argon2-0.5.3
+ rust-ascii-canvas-4.0.0
+ rust-autocfg-1.5.0
+ rust-base16ct-0.2.0
+ rust-base64-0.22.1
+ rust-base64ct-1.8.3
+ rust-bit-set-0.9.1
+ rust-bit-vec-0.9.1
+ rust-bitflags-2.11.1
+ rust-bitvec-1.0.1
+ rust-blake2-0.10.6
+ rust-block-buffer-0.10.4
+ rust-block-padding-0.3.3
+ rust-blowfish-0.9.1
+ rust-buffered-reader-1.4.0
+ rust-bumpalo-3.20.2
+ rust-byteorder-1.5.0
+ rust-camellia-0.1.0
+ rust-cast5-0.11.1
+ rust-cbc-0.1.2
+ rust-cc-1.2.62
+ rust-cfb-mode-0.8.2
+ rust-cfg-if-1.0.4
+ rust-chrono-0.4.44
+ rust-cipher-0.4.4
+ rust-clap-4.6.1
+ rust-clap-builder-4.6.0
+ rust-clap-derive-4.6.1
+ rust-clap-lex-1.1.0
+ rust-cmac-0.7.2
+ rust-colorchoice-1.0.5
+ rust-const-oid-0.9.6
+ rust-core-foundation-sys-0.8.7
+ rust-cpufeatures-0.2.17
+ rust-crc32fast-1.5.0
+ rust-crypto-bigint-0.5.5
+ rust-crypto-common-0.1.7
+ rust-ctr-0.9.2
+ rust-curve25519-dalek-4.1.3
+ rust-curve25519-dalek-derive-0.1.1
+ rust-cx448-0.1.1
+ rust-dbl-0.3.2
+ rust-der-0.7.10
+ rust-des-0.8.1
+ rust-digest-0.10.7
+ rust-displaydoc-0.2.5
+ rust-dsa-0.6.3
+ rust-dyn-clone-1.0.20
+ rust-eax-0.5.0
+ rust-ecb-0.1.2
+ rust-ecdsa-0.16.9
+ rust-ed25519-2.2.3
+ rust-ed25519-dalek-2.2.0
+ rust-either-1.15.0
+ rust-elliptic-curve-0.13.8
+ rust-ena-0.14.4
+ rust-equivalent-1.0.2
+ rust-ff-0.13.1
+ rust-fiat-crypto-0.2.9
+ rust-find-msvc-tools-0.1.9
+ rust-fixedbitset-0.5.7
+ rust-flate2-1.1.9
+ rust-foldhash-0.1.5
+ rust-funty-2.0.0
+ rust-futures-core-0.3.32
+ rust-futures-task-0.3.32
+ rust-futures-util-0.3.32
+ rust-generic-array-0.14.7
+ rust-generic-array-1.4.1
+ rust-getrandom-0.2.17
+ rust-getrandom-0.3.4
+ rust-ghash-0.5.1
+ rust-goblin-0.10.5
+ rust-group-0.13.0
+ rust-hashbrown-0.15.5
+ rust-hashbrown-0.17.1
+ rust-heck-0.5.0
+ rust-hkdf-0.12.4
+ rust-hmac-0.12.1
+ rust-iana-time-zone-0.1.65
+ rust-iana-time-zone-haiku-0.1.2
+ rust-icu-collections-2.2.0
+ rust-icu-locale-core-2.2.0
+ rust-icu-normalizer-2.2.0
+ rust-icu-normalizer-data-2.2.0
+ rust-icu-properties-2.2.0
+ rust-icu-properties-data-2.2.0
+ rust-icu-provider-2.2.0
+ rust-idea-0.5.1
+ rust-idna-1.1.0
+ rust-idna-adapter-1.2.2
+ rust-indexmap-2.14.0
+ rust-inout-0.1.4
+ rust-is-terminal-polyfill-1.70.2
+ rust-itertools-0.14.0
+ rust-itoa-1.0.18
+ rust-js-sys-0.3.98
+ rust-keccak-0.1.6
+ rust-lalrpop-0.23.1
+ rust-lalrpop-util-0.23.1
+ rust-lazy-static-1.5.0
+ rust-libc-0.2.186
+ rust-libm-0.2.16
+ rust-litemap-0.8.2
+ rust-lock-api-0.4.14
+ rust-log-0.4.29
+ rust-md-5-0.10.6
+ rust-memchr-2.8.0
+ rust-memsec-0.7.0
+ rust-miniz-oxide-0.8.9
+ rust-new-debug-unreachable-1.0.6
+ rust-num-bigint-dig-0.8.6
+ rust-num-integer-0.1.46
+ rust-num-iter-0.1.45
+ rust-num-traits-0.2.19
+ rust-ocb3-0.1.0
+ rust-once-cell-1.21.4
+ rust-once-cell-polyfill-1.70.2
+ rust-opaque-debug-0.3.1
+ rust-p256-0.13.2
+ rust-p384-0.13.1
+ rust-p521-0.13.3
+ rust-parking-lot-0.12.5
+ rust-parking-lot-core-0.9.12
+ rust-password-hash-0.5.0
+ rust-pem-rfc7468-0.7.0
+ rust-petgraph-0.8.3
+ rust-phf-shared-0.13.1
+ rust-pin-project-lite-0.2.17
+ rust-pkcs1-0.7.5
+ rust-pkcs8-0.10.2
+ rust-plain-0.2.3
+ rust-polyval-0.6.2
+ rust-portable-atomic-1.13.1
+ rust-potential-utf-0.1.5
+ rust-ppv-lite86-0.2.21
+ rust-precomputed-hash-0.1.1
+ rust-primeorder-0.13.6
+ rust-proc-macro2-1.0.106
+ rust-pyo3-0.28.3
+ rust-pyo3-build-config-0.28.3
+ rust-pyo3-ffi-0.28.3
+ rust-pyo3-introspection-0.28.3
+ rust-pyo3-macros-0.28.3
+ rust-pyo3-macros-backend-0.28.3
+ rust-quote-1.0.45
+ rust-r-efi-5.3.0
+ rust-radium-0.7.0
+ rust-rand-0.8.6
+ rust-rand-0.9.4
+ rust-rand-chacha-0.3.1
+ rust-rand-core-0.6.4
+ rust-rand-core-0.9.5
+ rust-redox-syscall-0.5.18
+ rust-regex-1.12.3
+ rust-regex-automata-0.4.14
+ rust-regex-syntax-0.8.10
+ rust-rfc6979-0.4.0
+ rust-ripemd-0.1.3
+ rust-rsa-0.9.10
+ rust-rustc-version-0.4.1
+ rust-rustversion-1.0.22
+ rust-same-file-1.0.6
+ rust-scopeguard-1.2.0
+ rust-scroll-0.13.0
+ rust-scroll-derive-0.13.1
+ rust-sec1-0.7.3
+ rust-semver-1.0.28
+ rust-sequoia-openpgp-2.3.0
+ rust-serde-1.0.228
+ rust-serde-core-1.0.228
+ rust-serde-derive-1.0.228
+ rust-serde-json-1.0.149
+ rust-serdect-0.2.0
+ rust-sha1collisiondetection-0.3.4
+ rust-sha2-0.10.9
+ rust-sha3-0.10.9
+ rust-shlex-1.3.0
+ rust-signature-2.2.0
+ rust-simd-adler32-0.3.9
+ rust-siphasher-1.0.3
+ rust-slab-0.4.12
+ rust-smallvec-1.15.1
+ rust-spin-0.9.8
+ rust-spki-0.7.3
+ rust-stable-deref-trait-1.2.1
+ rust-string-cache-0.9.0
+ rust-strsim-0.11.1
+ rust-subtle-2.6.1
+ rust-syn-2.0.117
+ rust-synstructure-0.13.2
+ rust-tap-1.0.1
+ rust-target-lexicon-0.13.5
+ rust-term-1.2.1
+ rust-testresult-0.4.1
+ rust-thiserror-2.0.18
+ rust-thiserror-impl-2.0.18
+ rust-tinystr-0.8.3
+ rust-twofish-0.7.1
+ rust-typenum-1.20.0
+ rust-unicode-ident-1.0.24
+ rust-unicode-xid-0.2.6
+ rust-universal-hash-0.5.1
+ rust-utf8-iter-1.0.4
+ rust-utf8parse-0.2.2
+ rust-version-check-0.9.5
+ rust-walkdir-2.5.0
+ rust-wasi-0.11.1+wasi-snapshot-preview1
+ rust-wasip2-1.0.3+wasi-0.2.9
+ rust-wasm-bindgen-0.2.121
+ rust-wasm-bindgen-macro-0.2.121
+ rust-wasm-bindgen-macro-support-0.2.121
+ rust-wasm-bindgen-shared-0.2.121
+ rust-winapi-util-0.1.11
+ rust-windows-core-0.62.2
+ rust-windows-implement-0.60.2
+ rust-windows-interface-0.59.3
+ rust-windows-link-0.2.1
+ rust-windows-result-0.4.1
+ rust-windows-strings-0.5.1
+ rust-windows-sys-0.61.2
+ rust-wit-bindgen-0.57.1
+ rust-writeable-0.6.3
+ rust-wyz-0.5.1
+ rust-x25519-dalek-2.0.1
+ rust-xxhash-rust-0.8.15
+ rust-yoke-0.8.2
+ rust-yoke-derive-0.8.2
+ rust-zerocopy-0.8.48
+ rust-zerocopy-derive-0.8.48
+ rust-zerofrom-0.1.8
+ rust-zerofrom-derive-0.1.7
+ rust-zeroize-1.8.2
+ rust-zeroize-derive-1.4.3
+ rust-zerotrie-0.2.4
+ rust-zerovec-0.11.6
+ rust-zerovec-derive-0.11.3
+ rust-zmij-1.0.21))
(python-rpds-py =>
(list rust-archery-1.2.1
rust-autocfg-1.4.0
