mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-dnspython: Only include supported inputs.
* gnu/packages/python-xyz.scm (python-dnspython)[propagated-inputs]: Only include packages when they are supported on the architecture. Change-Id: I19acb435b11070ee55c6b878019e1ee8532063b7
This commit is contained in:
parent
9b3ae3403b
commit
1b88114ff6
1 changed files with 19 additions and 8 deletions
|
@ -14,7 +14,7 @@
|
||||||
;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com>
|
;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com>
|
||||||
;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com>
|
;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com>
|
||||||
;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015-2025 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2015, 2017, 2020 Kyle Meyer <kyle@kyleam.com>
|
;;; Copyright © 2015, 2017, 2020 Kyle Meyer <kyle@kyleam.com>
|
||||||
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
|
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
|
||||||
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
|
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
|
||||||
|
@ -23191,13 +23191,24 @@ until the object is actually required, and caches the result of said call.")
|
||||||
(list python-hatchling
|
(list python-hatchling
|
||||||
python-pytest))
|
python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-cryptography
|
;; According to pyproject.toml all these are technically optional.
|
||||||
python-aioquic
|
(append
|
||||||
python-h2
|
(let ((if-supported
|
||||||
python-httpcore
|
(lambda (package)
|
||||||
python-httpx
|
(if (and (not (%current-target-system))
|
||||||
python-idna
|
(member (%current-system)
|
||||||
python-trio))
|
(package-transitive-supported-systems package)))
|
||||||
|
(list package)
|
||||||
|
'()))))
|
||||||
|
;; DNSSEC
|
||||||
|
(if-supported python-cryptography)
|
||||||
|
;; DNS over HTTPS
|
||||||
|
(if-supported python-h2)
|
||||||
|
(if-supported python-httpcore)
|
||||||
|
(if-supported python-httpx)
|
||||||
|
;; DNS over Quic
|
||||||
|
(if-supported python-trio))
|
||||||
|
(list python-idna)))
|
||||||
(home-page "https://www.dnspython.org")
|
(home-page "https://www.dnspython.org")
|
||||||
(synopsis "DNS toolkit for Python")
|
(synopsis "DNS toolkit for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue