[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/71: gnu: Add julia-xml2-jll.
From: |
guix-commits |
Subject: |
28/71: gnu: Add julia-xml2-jll. |
Date: |
Sun, 30 May 2021 05:57:37 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 7180dcdfb1c31b9cff8932995902b17e3c62bce9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 30 11:28:19 2021 +0300
gnu: Add julia-xml2-jll.
* gnu/packages/julia-jll.scm (julia-xml2-jll): New variable.
---
gnu/packages/julia-jll.scm | 43 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 0757882..96f9b1b 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -40,7 +40,8 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
- #:use-module (gnu packages xiph))
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml))
;;; TODO: Remove this autogenerated source package
;;; and build it from realse source using
<https://github.com/JuliaPackaging/Yggdrasil/>
@@ -986,6 +987,46 @@ build tree Yggdrasil.")
(description "This package provides a wrapper for the x265 video library.")
(license license:expat)))
+(define-public julia-xml2-jll
+ (package
+ (name "julia-xml2-jll")
+ (version "2.9.12+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/XML2_jll.jl")
+ (commit (string-append "XML2-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1g6wf5r5v2qx6cwv05kd9amcsmv65vkajk43m9r1c35jqs9m8fnm"))))
+ (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(\"XML2\", \""
+ (assoc-ref inputs "libxml2") "\")\n"))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs
+ `(("libxml2" ,libxml2)))
+ (propagated-inputs
+ `(("julia-jllwrappers" ,julia-jllwrappers)
+ ("julia-libiconv-jll" ,julia-libiconv-jll)
+ ("julia-zlib-jll" ,julia-zlib-jll)))
+ (home-page "https://github.com/JuliaBinaryWrappers/XML2_jll.jl")
+ (synopsis "XML2 library wrappers")
+ (description "This package provides a wrapper for the libxml2 library.")
+ (license license:expat)))
+
(define-public julia-zlib-jll
(package
(name "julia-zlib-jll")
- 10/71: gnu: julia-libtiff-jll: Move to (gnu packages julia-jll)., (continued)
- 10/71: gnu: julia-libtiff-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 13/71: gnu: Add julia-bzip2-jll., guix-commits, 2021/05/30
- 15/71: gnu: Add julia-freetype2-jll., guix-commits, 2021/05/30
- 16/71: gnu: Add julia-libfdk-aac-jll., guix-commits, 2021/05/30
- 18/71: gnu: Add julia-ogg-jll., guix-commits, 2021/05/30
- 20/71: gnu: Add julia-x265-jll., guix-commits, 2021/05/30
- 21/71: gnu: Add julia-openssl-jll., guix-commits, 2021/05/30
- 22/71: gnu: Add julia-opus-jll., guix-commits, 2021/05/30
- 26/71: gnu: Add julia-libiconv-jll., guix-commits, 2021/05/30
- 27/71: gnu: Add julia-libffi-jll., guix-commits, 2021/05/30
- 28/71: gnu: Add julia-xml2-jll.,
guix-commits <=
- 34/71: gnu: Add julia-libuuid-jll., guix-commits, 2021/05/30
- 35/71: gnu: Add julia-expat-jll., guix-commits, 2021/05/30
- 23/71: gnu: Add julia-libass-jll., guix-commits, 2021/05/30
- 33/71: gnu: Add julia-pixman-jll., guix-commits, 2021/05/30
- 37/71: gnu: Add julia-xorg-libxdmcp-jll., guix-commits, 2021/05/30
- 39/71: gnu: Add julia-libgcrypt-jll., guix-commits, 2021/05/30
- 40/71: gnu: Add julia-xorg-xtrans-jll., guix-commits, 2021/05/30
- 38/71: gnu: Add julia-libgpg-error-jll., guix-commits, 2021/05/30
- 36/71: gnu: Add julia-xorg-libxau-jll., guix-commits, 2021/05/30
- 24/71: gnu: Add julia-ffmpeg-jll., guix-commits, 2021/05/30