mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 15:37:54 -05:00
gnu: Add julia-mbedtls-jll.
* gnu/packages/julia-xyz.scm (julia-mbedtls-jll): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
a06db9c1ee
commit
3291e4ba97
1 changed files with 42 additions and 1 deletions
|
@ -20,7 +20,8 @@ (define-module (gnu packages julia-xyz)
|
|||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system julia))
|
||||
#:use-module (guix build-system julia)
|
||||
#:use-module (gnu packages tls))
|
||||
|
||||
(define-public julia-adapt
|
||||
(package
|
||||
|
@ -215,6 +216,46 @@ (define-public julia-json
|
|||
and printing JSON documents.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public julia-mbedtls-jll
|
||||
(package
|
||||
(name "julia-mbedtls-jll")
|
||||
;; version 2.25.0+0 is not compatible with current mbedtls 2.23.0,
|
||||
;; upgrade this when mbedtls is updated in guix
|
||||
(version "2.24.0+1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl")
|
||||
(commit (string-append "MbedTLS-v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0kk9dlxdh7yms21npgrdfmjbj8q8ng6kdhrzw3jr2d7rp696kp99"))))
|
||||
(build-system julia-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; No runtests.jl
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'override-binary-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(map
|
||||
(lambda (wrapper)
|
||||
(substitute* wrapper
|
||||
(("generate_wrapper_header.*")
|
||||
(string-append
|
||||
"generate_wrapper_header(\"MbedTLS\", \""
|
||||
(assoc-ref inputs "mbedtls-apache") "\")\n"))))
|
||||
;; There's a Julia file for each platform, override them all
|
||||
(find-files "src/wrappers/" "\\.jl$"))
|
||||
#t)))))
|
||||
(inputs `(("mbedtls-apache" ,mbedtls-apache)))
|
||||
(propagated-inputs `(("julia-jllwrappers" ,julia-jllwrappers)))
|
||||
(home-page "https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl")
|
||||
(synopsis "Apache's mbed TLS binary wrappers")
|
||||
(description "This Julia module provides @code{mbed TLS} libraries and
|
||||
wrappers.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public julia-orderedcollections
|
||||
(package
|
||||
(name "julia-orderedcollections")
|
||||
|
|
Loading…
Reference in a new issue