Subject: [bug#46192] [PATCH 05/22] gnu: Add rust-ropey-1.

From: aecepoglu <[email-masked]>
Date: Sat, 30 Jan 2021 17:29:29 +0300

* gnu/packages/crates-io.scm (rust-ropey-1): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6d882e777..abb260aa81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28475,6 +28475,36 @@ Rust Language Server.")
        (;("rust-serde-bytes" ,rust-serde-bytes-0.10)
         ("rust-serde-json" ,rust-serde-json-1))))))
 
+(define-public rust-ropey-1
+  (package
+    (name "rust-ropey")
+    (version "1.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "ropey" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0wbz3cj314bfxl8xwbspyfji6ql95nm360r6gdzd9bd4122nlcms"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-smallvec" ,rust-smallvec-0.6))
+        #:cargo-development-inputs
+        (("rust-bencher" ,rust-bencher-0.1)
+         ("rust-proptest" ,rust-proptest-0.9)
+         ("rust-rand" ,rust-rand-0.7)
+         ("rust-unicode-segmentation"
+          ,rust-unicode-segmentation-1.3))))
+    (home-page "https://github.com/cessen/ropey")
+    (synopsis "Text rope for Rust")
+    (description
+      "UTF-8 text rope for Rust, designed to be the backing text-buffer for
+applications such as text editors")
+    (license license:expat)))
+
 (define-public rust-route-recognizer-0.2
   (package
     (name "rust-route-recognizer")
-- 
2.30.0