diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 10:50:21 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 12:55:50 +0300 |
commit | a1b7d59ca61f687804bc5958e1fa08fda27d43c5 (patch) | |
tree | 8da7ddbcccd784b162f0d22ba3626a4bb7a7488a /gnu/packages | |
parent | 76cdb2b821ba6bcce36a0c712bf8c90f84f08dd0 (diff) | |
download | guix-patches-a1b7d59ca61f687804bc5958e1fa08fda27d43c5.tar guix-patches-a1b7d59ca61f687804bc5958e1fa08fda27d43c5.tar.gz |
gnu: Add julia-fribidi-jll.
* gnu/packages/julia-jll.scm (julia-fribidi-jll): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/julia-jll.scm | 37 |
1 files changed, 37 insertions, 0 deletions
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") |