diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 12:29:18 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 12:55:54 +0300 |
commit | 7f8cbd07a11cf7f60ae37626132cbafff477814c (patch) | |
tree | 1aa8ff1b5e1e6475782cf4c18b95606094c8f769 /gnu/packages/julia-jll.scm | |
parent | 390beddbc4ca74a3e4ea7573e8bc1f6f35d46375 (diff) | |
download | guix-7f8cbd07a11cf7f60ae37626132cbafff477814c.tar guix-7f8cbd07a11cf7f60ae37626132cbafff477814c.tar.gz |
gnu: Add julia-cairo-jll.
* gnu/packages/julia-jll.scm (julia-cairo-jll): New variable.
Diffstat (limited to 'gnu/packages/julia-jll.scm')
-rw-r--r-- | gnu/packages/julia-jll.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 214b9d7644..71743e9082 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -34,6 +34,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) + #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages julia) @@ -93,6 +94,52 @@ compression program.") (license license:expat))) +(define-public julia-cairo-jll + (package + (name "julia-cairo-jll") + (version "1.16.0+5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/Cairo_jll.jl") + (commit (string-append "Cairo-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1766k8f63qb4bgyl4g29qrcddwypqx0c4kdg3lji8bsimw3f1bay")))) + (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\"Cairo\"") + (string-append "\"" (assoc-ref inputs "cairo") "\"")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$"))))))) + (inputs + `(("cairo" ,cairo))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers) + ("julia-bzip2-jll" ,julia-bzip2-jll) + ("julia-fontconfig-jll" ,julia-fontconfig-jll) + ("julia-freetype2-jll" ,julia-freetype2-jll) + ("julia-glib-jll" ,julia-glib-jll) + ("julia-libpng-jll" ,julia-libpng-jll) + ("julia-lzo-jll" ,julia-lzo-jll) + ("julia-pixman-jll" ,julia-pixman-jll) + ("julia-xorg-libxext-jll" ,julia-xorg-libxext-jll) + ("julia-xorg-libxrender-jll" ,julia-xorg-libxrender-jll) + ("julia-zlib-jll" ,julia-zlib-jll))) + (home-page "https://github.com/JuliaBinaryWrappers/Cairo_jll.jl") + (synopsis "Cairo library wrappers") + (description "This package provides a wrapper for the cairo library.") + (license license:expat))) + (define-public julia-compilersupportlibraries-jll (package (name "julia-compilersupportlibraries-jll") |