gnu: Add julia-fribidi-jll.

* gnu/packages/julia-jll.scm (julia-fribidi-jll): New variable.
This commit is contained in:
Efraim Flashner 2021-05-30 10:50:21 +03:00
parent 76cdb2b821
commit a1b7d59ca6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -26,6 +26,7 @@ (define-module (gnu packages julia-jll)
#:use-module (guix build-system julia) #:use-module (guix build-system julia)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages fribidi)
#:use-module (gnu packages gcc) #:use-module (gnu packages gcc)
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages imagemagick) #:use-module (gnu packages imagemagick)
@ -120,6 +121,42 @@ (define-public julia-compilersupportlibraries-jll
build tree Yggdrasil.") build tree Yggdrasil.")
(license license:expat))) (license license:expat)))
(define-public julia-fribidi-jll
(package
(name "julia-fribidi-jll")
(version "1.0.5+5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaBinaryWrappers/FriBidi_jll.jl")
(commit (string-append "FriBidi-v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1nmaqhsnm51hyvnbr9riqfp3f636xyxn2ybych598xpkhhjqldwh"))))
(build-system julia-build-system)
(arguments
'(#:tests? #f ; no runtests
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'override-binary-path
(lambda* (#:key inputs #:allow-other-keys)
(map
(lambda (wrapper)
(substitute* wrapper
(("artifact\"FriBidi\"")
(string-append "\"" (assoc-ref inputs "fribidi") "\""))))
;; There's a Julia file for each platform, override them all
(find-files "src/wrappers/" "\\.jl$")))))))
(inputs
`(("fribidi" ,fribidi)))
(propagated-inputs
`(("julia-jllwrappers" ,julia-jllwrappers)))
(home-page "https://github.com/JuliaBinaryWrappers/FriBidi_jll.jl")
(synopsis "Fribidi library wrappers")
(description "This package provides a wrapper for the fribidi library.")
(license license:expat)))
(define-public julia-gumbo-jll (define-public julia-gumbo-jll
(package (package
(name "julia-gumbo-jll") (name "julia-gumbo-jll")