gnu: Add julia-libgpg-error-jll.

* gnu/packages/julia-jll.scm (julia-libgpg-error-jll): New variable.
This commit is contained in:
Efraim Flashner 2021-05-30 12:12:50 +03:00
parent 71b0d280f7
commit cf4a0c1f67
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -33,6 +33,7 @@ (define-module (gnu packages julia-jll)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages julia)
@ -695,6 +696,44 @@ (define-public julia-libffi-jll
(description "This package provides a wrapper for the libffi library.")
(license license:expat)))
(define-public julia-libgpg-error-jll
(package
(name "julia-libgpg-error-jll")
(version "1.42.0+0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaBinaryWrappers/Libgpg_error_jll.jl")
(commit (string-append "Libgpg_error-v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0jmsn0mhn6b35b5awbrlpjjszknsplr62li574fkgwfxlfixb8iy"))))
(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(\"Libgpg_error\", \""
(assoc-ref inputs "libgpg-error") "\")\n"))))
;; There's a Julia file for each platform, override them all
(find-files "src/wrappers/" "\\.jl$")))))))
(inputs
`(("libgpg-error" ,libgpg-error)))
(propagated-inputs
`(("julia-jllwrappers" ,julia-jllwrappers)))
(home-page "https://github.com/JuliaBinaryWrappers/Libgpg_error_jll.jl")
(synopsis "libgpg-error library wrappers")
(description "This package provides a wrapper for the libgpg-error library.")
(license license:expat)))
(define-public julia-libiconv-jll
(package
(name "julia-libiconv-jll")