guix-patches
[Top][All Lists]
Advanced

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

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


From: aecepoglu
Subject: [bug#46192] [PATCH 05/22] gnu: Add rust-ropey-1.
Date: Wed, 3 Feb 2021 14:47:32 +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 57af1dc2ab..6d0e2e1a2c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28476,6 +28476,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.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "ropey" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "10qsj7m6hz953ar68q7iqwwizrh89jaclgffzglb7nwzb0bfzwzh"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-smallvec" ,rust-smallvec-1))
+        #: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))))
+    (home-page "https://github.com/cessen/ropey";)
+    (synopsis "Text rope for Rust")
+    (description
+      "This package provides a 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






reply via email to

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