Subject: [PATCH 22/30] gnu: Add rust-text-file-sort-0.1.

From: Wilko Meyer <[email-masked]>
Date: Wed, 1 May 2024 00:27:27 +0200

* gnu/packages/crates-io.scm (rust-text-file-sort-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7df4c8d254..c701e57af6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69831,6 +69831,34 @@ (define-public rust-text-size-1
     (description "This package provides a newtypes for text offsets")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-text-file-sort-0.1
+  (package
+    (name "rust-text-file-sort")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "text-file-sort" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1x4kcxw7np94yly7g79r2dbpxyia69a0c0xamd9v2ynccpwjmip6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-command-executor" ,rust-command-executor-0.1)
+                       ("rust-data-encoding" ,rust-data-encoding-2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-num-cpus" ,rust-num-cpus-1)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-rlimit" ,rust-rlimit-0.10)
+                       ("rust-simple-logger" ,rust-simple-logger-4)
+                       ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://www.navigatorsguild.io/")
+    (synopsis "Sort a text file similar to linux sort")
+    (description "This crate provides a way to sort a text file similar to linux sort.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-textwrap-0.16
   (package
     (name "rust-textwrap")
-- 
2.41.0