guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53017] [PATCH 12/17] gnu: Add julia-stringencodings.


From: zimoun
Subject: [bug#53017] [PATCH 12/17] gnu: Add julia-stringencodings.
Date: Tue, 4 Jan 2022 23:47:50 +0100

* gnu/packages/julia-xyz.scm (julia-stringencodings): New variable.
---
 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 757030301d..84a6fef3a6 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -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")
-- 
2.33.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]