From 17406e2779c115e5fa5c4ba7ce35940535335e93 Mon Sep 17 00:00:00 2001 From: zimoun Date: Tue, 4 Jan 2022 23:47:50 +0100 Subject: gnu: Add julia-stringencodings. * gnu/packages/julia-xyz.scm (julia-stringencodings): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/julia-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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") -- cgit 1.4.1