[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
49/71: gnu: Add julia-cairo-jll.
From: |
guix-commits |
Subject: |
49/71: gnu: Add julia-cairo-jll. |
Date: |
Sun, 30 May 2021 05:57:44 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 7f8cbd07a11cf7f60ae37626132cbafff477814c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 30 12:29:18 2021 +0300
gnu: Add julia-cairo-jll.
* gnu/packages/julia-jll.scm (julia-cairo-jll): New variable.
---
gnu/packages/julia-jll.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 214b9d7..71743e9 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")
- 59/71: gnu: Add julia-xorg-libxkbfile-jll., (continued)
- 59/71: gnu: Add julia-xorg-libxkbfile-jll., guix-commits, 2021/05/30
- 57/71: gnu: Add julia-wayland-jll., guix-commits, 2021/05/30
- 66/71: gnu: Add julia-xorg-xcb-util-keysyms-jll., guix-commits, 2021/05/30
- 64/71: gnu: Add julia-xorg-xcb-util-wm-jll., guix-commits, 2021/05/30
- 32/71: gnu: Add julia-glib-jll., guix-commits, 2021/05/30
- 44/71: gnu: Add julia-xorg-libxcb-jll., guix-commits, 2021/05/30
- 45/71: gnu: Add julia-xorg-libx11-jll., guix-commits, 2021/05/30
- 51/71: gnu: Add julia-xorg-libxcursor-jll., guix-commits, 2021/05/30
- 53/71: gnu: Add julia-xorg-libxi-jll., guix-commits, 2021/05/30
- 47/71: gnu: Add julia-fontconfig-jll., guix-commits, 2021/05/30
- 49/71: gnu: Add julia-cairo-jll.,
guix-commits <=
- 52/71: gnu: Add julia-libglvnd-jll., guix-commits, 2021/05/30
- 55/71: gnu: Add julia-xorg-libxrandr-jll., guix-commits, 2021/05/30
- 60/71: gnu: Add julia-xorg-xkbcomp-jll., guix-commits, 2021/05/30
- 61/71: gnu: Add julia-xorg-xkeyboard-config-jll., guix-commits, 2021/05/30
- 62/71: gnu: Add julia-xkbcommon-jll., guix-commits, 2021/05/30
- 63/71: gnu: Add julia-xorg-xcb-util-jll., guix-commits, 2021/05/30
- 65/71: gnu: Add julia-xorg-xcb-util-image-jll., guix-commits, 2021/05/30
- 68/71: gnu: Add julia-qt5base-jll., guix-commits, 2021/05/30
- 67/71: gnu: Add julia-xorg-xcb-util-renderutil-jll., guix-commits, 2021/05/30
- 69/71: gnu: Add julia-plotthemes., guix-commits, 2021/05/30