guix-commits
[Top][All Lists]
Advanced

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

166/330: gnu: Add rust-csv-async-1.


From: guix-commits
Subject: 166/330: gnu: Add rust-csv-async-1.
Date: Mon, 18 Mar 2024 07:15:59 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit fbe635187f0a098cdbfdcf3c3dea4db56f97b3a3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 22:00:02 2024 +0200

    gnu: Add rust-csv-async-1.
    
    * gnu/packages/crates-io.scm (rust-csv-async-1): New variable.
    
    Change-Id: I17660bfc9fc33b5795317d0a00f87314c8829dcb
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b64e376a07..bde82dc5fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16602,6 +16602,39 @@ number ``crunching``.")
      "This package provides the procedural macros for rust-cssparser.")
     (license license:mpl2.0)))
 
+(define-public rust-csv-async-1
+  (package
+    (name "rust-csv-async")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "csv-async" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w60k4pqm1lnbv0mbz1d1ypmkx487r0q36hyrrh84jkzs2qfazyk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Errors in the test suite code.
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-csv-core" ,rust-csv-core-0.1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-itoa" ,rust-itoa-1)
+                       ("rust-ryu" ,rust-ryu-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-stream" ,rust-tokio-stream-0.1))
+       #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+                                   ("rust-bstr" ,rust-bstr-1)
+                                   ("rust-chrono" ,rust-chrono-0.4)
+                                   ("rust-indoc" ,rust-indoc-2)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/gwierzchowski/csv-async";)
+    (synopsis "CSV parsing for async")
+    (description "This package provides CSV parsing for async.")
+    (license license:expat)))
+
 (define-public rust-csv-index-0.1
   (package
     (name "rust-csv-index")



reply via email to

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