me
/
guix
Archived
1
0
Fork 0

gnu: Add julia-libiconv-jll.

* gnu/packages/julia-jll.scm (julia-libiconv-jll): New variable.
master
Efraim Flashner 2021-05-30 11:25:20 +03:00
parent 0c1b3444e1
commit b3ffbab8f8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 39 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#:use-module (guix build-system julia)
#:use-module (gnu packages)
#:use-module (gnu packages audio)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages fribidi)
@ -526,6 +527,44 @@ used in autogenerated packages via @code{BinaryBuilder.jl}.")
(description "This package provides a wrapper for the libfdk audio library.")
(license license:expat)))
(define-public julia-libiconv-jll
(package
(name "julia-libiconv-jll")
(version "1.16.1+0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaBinaryWrappers/Libiconv_jll.jl")
(commit (string-append "Libiconv-v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "185f2460ypig1klgi8rdb0s2c8l4hxdbmsz9ihj7bdydl964s2hh"))))
(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(\"Libiconv\", \""
(assoc-ref inputs "libiconv") "\")\n"))))
;; There's a Julia file for each platform, override them all
(find-files "src/wrappers/" "\\.jl$")))))))
(inputs
`(("libiconv" ,libiconv)))
(propagated-inputs
`(("julia-jllwrappers" ,julia-jllwrappers)))
(home-page "https://github.com/JuliaBinaryWrappers/Libiconv_jll.jl")
(synopsis "Libiconv library wrappers")
(description "This package provides a wrapper for the libiconv library.")
(license license:expat)))
(define-public julia-libpng-jll
(package
(name "julia-libpng-jll")