Subject: [bug#69695] [PATCH 1/7] gnu: Add rust-line-numbers-0.3.

From: muradm <[email-masked]>
Date: Sun, 10 Mar 2024 10:30:54 +0300

* gnu/packages/crates-io.scm (rust-line-numbers-0.3): New variable.

Change-Id: I2dfe3e6e9805169511c945cb3e4aacc7c02b9a62
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1a08748392..1e828257b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34800,6 +34800,25 @@ (define-public rust-line-col-0.2
     (description "Convert string slice indices into line/column numbers")
     (license license:expat)))
 
+(define-public rust-line-numbers-0.3
+  (package
+    (name "rust-line-numbers")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "line-numbers" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0p531c7w7viilf7q1k277zmy8ihl8064vx0r7jm5z02ki03ga9bv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/wilfred/line-numbers")
+    (synopsis "Find line numbers in strings by byte offsets, quickly")
+    (description "Find line numbers in strings by byte offsets, quickly")
+    (license license:expat)))
+
 (define-public rust-line-wrap-0.1
   (package
     (name "rust-line-wrap")
-- 
2.41.0