summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 09:49:08 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:46 +0200
commitab5a01f5795e332571d1f0fd77fbf4f9ae872c36 (patch)
tree5d1204a2f18798bf8668a5fc6f6e94e8a23dbc80 /gnu
parentd832bcb613012ffa13355b14c162819f43ad562d (diff)
downloadguix-ab5a01f5795e332571d1f0fd77fbf4f9ae872c36.tar.gz
gnu: Add rust-encoding-rs-0.8.
* gnu/packages/crates-io.scm (rust-encoding-rs-0.8): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 731953894c..1cc1f53f47 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2320,6 +2320,37 @@ encodings.")
      "Index tables for traditional Chinese character encodings.")
     (license license:cc0)))
 
+(define-public rust-encoding-rs-0.8
+  (package
+    (name "rust-encoding-rs")
+    (version "0.8.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "encoding_rs" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1v902qqnbd37vdq4rjvp6k05wmghrasfdcjy30gp1xpjg5f7hma1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-packed-simd" ,rust-packed-simd-0.3)
+        ("rust-serde" ,rust-serde-1.0))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1.1)
+        ("rust-serde-derive" ,rust-serde-derive-1.0)
+        ("rust-serde-json" ,rust-serde-json-1.0))))
+    (home-page "https://docs.rs/encoding_rs/")
+    (synopsis "Gecko-oriented implementation of the Encoding Standard")
+    (description
+     "This package provides a Gecko-oriented implementation of the Encoding
+Standard.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-env-logger-0.6
   (package
     (name "rust-env-logger")