gnu: Add julia-stringencodings.

* gnu/packages/julia-xyz.scm (julia-stringencodings): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
zimoun 2022-01-04 23:47:50 +01:00 committed by Efraim Flashner
parent 542db364f5
commit 17406e2779
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4799,6 +4799,38 @@ (define-public julia-stringdistances
applied to any distance.")
(license license:expat)))
(define-public julia-stringencodings
(package
(name "julia-stringencodings")
(version "0.3.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaStrings/StringEncodings.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1qwc5ll68ng80b5921ww6fvifxbsmiylakfgsbsjbzg7lzyb5i67"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-failing-test
(lambda _
;; https://github.com/JuliaStrings/StringEncodings.jl/issues/49
(substitute* "test/runtests.jl"
(("\"SHIFT_JIS\", \"SHIFT_JISX0213\"")
" ")))))))
(propagated-inputs
(list julia-libiconv-jll))
(home-page "https://github.com/JuliaStrings/StringEncodings.jl")
(synopsis "Support for decoding and encoding texts")
(description "This package provides support for decoding and encoding
texts between multiple character encodings. It is currently based on the
@code{iconv} interface, and supports all major platforms using GNU libiconv.")
(license license:expat)))
(define-public julia-structarrays
(package
(name "julia-structarrays")