From a4dbdbaccfd5eda4ef0992b5f8ed4cae8f575cef Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 30 May 2021 12:06:44 +0300 Subject: gnu: Add julia-pixman-jll. * gnu/packages/julia-jll.scm (julia-pixman-jll): New variable. --- gnu/packages/julia-jll.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'gnu/packages/julia-jll.scm') diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 203bc9cef7..2210778065 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -44,6 +44,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages video) #:use-module (gnu packages web) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xiph) #:use-module (gnu packages xml)) @@ -1076,6 +1077,44 @@ build tree Yggdrasil.") (description "This package provides a wrapper for the pcre library.") (license license:expat))) +(define-public julia-pixman-jll + (package + (name "julia-pixman-jll") + (version "0.40.1+0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/Pixman_jll.jl") + (commit (string-append "Pixman-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ahawpgsiccmpa7gyxny7hq058igqvpza7ybqa44vl2nynnry2g7")))) + (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 + (("generate_wrapper_header.*") + (string-append + "generate_wrapper_header(\"Pixman\", \"" + (assoc-ref inputs "pixman") "\")\n")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$"))))))) + (inputs + `(("pixman" ,pixman))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers))) + (home-page "https://github.com/JuliaBinaryWrappers/Pixman_jll.jl") + (synopsis "Pixman library wrappers") + (description "This package provides a wrapper for the pixman library.") + (license license:expat))) + (define-public julia-x264-jll (package (name "julia-x264-jll") -- cgit v1.2.3