mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 03:21:49 +02:00
gnu: stunnel: Support more systems.
* gnu/packages/web.scm (stunnel)[arguments]: Only run the tests when not cross-compiling and when python-cryptography is a native-input. [native-inputs]: Only add the test inputs on systems which are supported by python-cryptography. Change-Id: I6830b77dc600be8e00c1661b801c43e420b12183
This commit is contained in:
@@ -6862,6 +6862,8 @@ tools like SSH (Secure Shell) to reach the outside world.")
|
||||
(list #:configure-flags
|
||||
#~(list (string-append "--with-ssl="
|
||||
#$(this-package-input "openssl")))
|
||||
#:tests? (and (not (%current-target-system))
|
||||
(this-package-native-input "python-cryptography"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-output-directories
|
||||
@@ -6879,11 +6881,13 @@ tools like SSH (Secure Shell) to reach the outside world.")
|
||||
(for-each delete-file (find-files doc "^INSTALL"))))))))
|
||||
(native-inputs
|
||||
;; For tests.
|
||||
(list iproute
|
||||
netcat
|
||||
procps
|
||||
python
|
||||
python-cryptography))
|
||||
(if (supported-package? python-cryptography)
|
||||
(list iproute
|
||||
netcat
|
||||
procps
|
||||
python
|
||||
python-cryptography)
|
||||
'()))
|
||||
(inputs (list openssl perl))
|
||||
(home-page "https://www.stunnel.org")
|
||||
(synopsis "TLS proxy for clients or servers")
|
||||
|
||||
Reference in New Issue
Block a user