diff options
author | zimoun <zimon.toutoune@gmail.com> | 2022-01-04 23:47:50 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-01-10 15:15:35 +0200 |
commit | 17406e2779c115e5fa5c4ba7ce35940535335e93 (patch) | |
tree | 4abec9631961fea98bb120241055feafb1c88953 /gnu/packages | |
parent | 542db364f5b42563cf60773a57f427766343c9a5 (diff) |
gnu: Add julia-stringencodings.
* gnu/packages/julia-xyz.scm (julia-stringencodings): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/julia-xyz.scm | 32 |
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") |