guix-patches
[Top][All Lists]
Advanced

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

[bug#53315] [PATCH 043/150] gnu: Add rust-sqlite-0.26.


From: Aleksandr Vityazev
Subject: [bug#53315] [PATCH 043/150] gnu: Add rust-sqlite-0.26.
Date: Mon, 17 Jan 2022 13:17:31 +0000

* gnu/packages/crates-io.scm (rust-sqlite-0.26): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72501c65fd..60bfac4c8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52600,6 +52600,28 @@ (define-public rust-spsc-buffer-0.1
      "This package provides a single-producer single-consumer lock-free 
buffer.")
     (license license:expat)))
 
+(define-public rust-sqlite-0.26
+  (package
+    (name "rust-sqlite")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0snvg09bs0n8skcxkx52lcymdn0l130a2m8fpvxpdhkyq0sabc9z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13))))
+    (home-page "https://github.com/stainless-steel/sqlite";)
+    (synopsis "Interface to SQLite")
+    (description "The package provides an interface to SQLite.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-sqlite3-src-0.3
   (package
     (name "rust-sqlite3-src")
-- 
2.34.0



-- 

Aleksandr Vityazev





reply via email to

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