guix-patches
[Top][All Lists]
Advanced

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

[bug#68312] [PATCH 126/156] gnu: Add rust-sqlx-sqlite-0.7.


From: Wilko Meyer
Subject: [bug#68312] [PATCH 126/156] gnu: Add rust-sqlx-sqlite-0.7.
Date: Mon, 8 Jan 2024 02:53:43 +0100

* gnu/packages/crates-io.scm (rust-sqlx-sqlite-0.7): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c98880665f3..c5e02476d6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70733,6 +70733,47 @@ (define-public rust-sqlx-mysql-0.7
      "@code{MySQL} driver implementation for SQLx.  Not for direct use; see 
the `sqlx`
 crate for details.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-sqlx-sqlite-0.7
+  (package
+    (name "rust-sqlx-sqlite")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlx-sqlite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "143laha7wf8dmi0xwycwqmvxdcnb25dq7jnqrsgvmis8v6vpc291"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-atoi" ,rust-atoi-2)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-flume" ,rust-flume-0.11)
+                       ("rust-futures-channel" ,rust-futures-channel-0.3)
+                       ("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-executor" ,rust-futures-executor-0.3)
+                       ("rust-futures-intrusive" ,rust-futures-intrusive-0.5)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-percent-encoding" ,rust-percent-encoding-2)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-sqlx-core" ,rust-sqlx-core-0.7)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-urlencoding" ,rust-urlencoding-2)
+                       ("rust-uuid" ,rust-uuid-1))))
+    (home-page "https://github.com/launchbadge/sqlx";)
+    (synopsis
+     "SQLite driver implementation for SQLx. Not for direct use; see the 
`sqlx` crate for details.")
+    (description
+     "SQLite driver implementation for SQLx.  Not for direct use; see the 
`sqlx` crate
+for details.")
+    (license (list license:expat license:asl2.0))))
 (define-public rust-sqlite-0.30
   (package
     (name "rust-sqlite")
-- 
2.41.0






reply via email to

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