guix-commits
[Top][All Lists]
Advanced

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

11/51: gnu: Add rust-rusqlite-0.30.


From: guix-commits
Subject: 11/51: gnu: Add rust-rusqlite-0.30.
Date: Wed, 13 Mar 2024 07:12:22 -0400 (EDT)

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

commit 4a28980470f9f7bafdabb0c68dcb4fdfc12da77d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 11 13:42:04 2024 +0200

    gnu: Add rust-rusqlite-0.30.
    
    * gnu/packages/crates-io.scm (rust-rusqlite-0.30): New variable.
    (rust-rusqlite-0.29): Inherit from rust-rusqlite-0.30.
    
    Change-Id: I84eec1808681b859e0d0e4e66b3aa5b8af561579
---
 gnu/packages/crates-io.scm | 48 +++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 41 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a7da2a524f..efec09f08c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56263,8 +56263,48 @@ please consider using @code{async-std} or 
@code{tokio}.")
     (description "This package provides a Tokio-based asynchronous runtime.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rusqlite-0.30
+  (package
+    (name "rust-rusqlite")
+    (version "0.30.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rusqlite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kgjk7h53wp8k2di2j83ivf50f0bk6rg7bq8j36ygxb42lb4d057"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-csv" ,rust-csv-1)
+                       ("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+                       ("rust-fallible-streaming-iterator" 
,rust-fallible-streaming-iterator-0.1)
+                       ("rust-hashlink" ,rust-hashlink-0.8)
+                       ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27)
+                       ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-uuid" ,rust-uuid-1))
+       #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)
+                                   ("rust-doc-comment" ,rust-doc-comment-0.3)
+                                   ("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-regex" ,rust-regex-1)
+                                   ("rust-tempfile" ,rust-tempfile-3)
+                                   ("rust-unicase" ,rust-unicase-2)
+                                   ("rust-uuid" ,rust-uuid-1))))
+    (inputs (list sqlite))
+    (home-page "https://github.com/rusqlite/rusqlite";)
+    (synopsis "Wrapper for SQLite")
+    (description "This crate provides a wrapper for SQLite.")
+    (license license:expat)))
+
 (define-public rust-rusqlite-0.29
   (package
+    (inherit rust-rusqlite-0.30)
     (name "rust-rusqlite")
     (version "0.29.0")
     (source (origin
@@ -56274,7 +56314,6 @@ please consider using @code{async-std} or 
@code{tokio}.")
               (sha256
                (base32
                 "1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-2)
@@ -56296,12 +56335,7 @@ please consider using @code{async-std} or 
@code{tokio}.")
         ("rust-regex" ,rust-regex-1)
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-unicase" ,rust-unicase-2)
-        ("rust-uuid" ,rust-uuid-1))))
-    (inputs (list sqlite))
-    (home-page "https://github.com/rusqlite/rusqlite";)
-    (synopsis "Wrapper for SQLite")
-    (description "This crate provides a wrapper for SQLite.")
-    (license license:expat)))
+        ("rust-uuid" ,rust-uuid-1))))))
 
 (define-public rust-rusqlite-0.26
   (package



reply via email to

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