summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/julia-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index ee1fe8aa93..18f043cd74 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4799,6 +4799,38 @@ are defined for @code{AbstractStrings}, and any iterator that define
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")