guix-commits
[Top][All Lists]
Advanced

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

184/311: gnu: Add rust-sqlite-0.30.


From: guix-commits
Subject: 184/311: gnu: Add rust-sqlite-0.30.
Date: Sat, 28 Oct 2023 16:39:06 -0400 (EDT)

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

commit 576e94a3b2cb615f1ff8da85d69e02194c070df8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 10:01:43 2023 +0300

    gnu: Add rust-sqlite-0.30.
    
    * gnu/packages/crates-io.scm (rust-sqlite-0.30): New variable.
    (rust-sqlite-0.26): Inherit from rust-sqlite-0.30.
    
    Change-Id: I2c6ea99708ef5fe134fa10e1cc7587a602de9478
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 485eb836a3..392cec340a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70677,8 +70677,31 @@ OIDs)")
     (description "This package provides sptr, The Strict Provenance Polyfill.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-sqlite-0.30
+  (package
+    (name "rust-sqlite")
+    (version "0.30.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lbfa0gjkqlhcmj4jy72kzfgd6a57z8gs1y7g34cbp4msvm4rk3f"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.15))
+       #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))
+    (inputs (list sqlite))
+    (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-sqlite-0.26
   (package
+    (inherit rust-sqlite-0.30)
     (name "rust-sqlite")
     (version "0.26.0")
     (source
@@ -70688,16 +70711,11 @@ OIDs)")
        (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))))
+        ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13))))))
 
 (define-public rust-sqlite3-src-0.5
   (package



reply via email to

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