From a1b7d59ca61f687804bc5958e1fa08fda27d43c5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 30 May 2021 10:50:21 +0300 Subject: gnu: Add julia-fribidi-jll. * gnu/packages/julia-jll.scm (julia-fribidi-jll): New variable. --- gnu/packages/julia-jll.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 05f5d2a811..fc3e5ab723 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -26,6 +26,7 @@ #:use-module (guix build-system julia) #:use-module (gnu packages) #:use-module (gnu packages compression) + #:use-module (gnu packages fribidi) #:use-module (gnu packages gcc) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) @@ -120,6 +121,42 @@ originating @code{build_tarballs.jl} script can be found on the community build tree Yggdrasil.") (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 (package (name "julia-gumbo-jll") -- cgit v1.2.3