guix-commits
[Top][All Lists]
Advanced

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

182/436: gnu: Add rust-sqlite3-sys-0.15.


From: guix-commits
Subject: 182/436: gnu: Add rust-sqlite3-sys-0.15.
Date: Sun, 5 Nov 2023 05:28:46 -0500 (EST)

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

commit 8599bce9cd6d476da3e6721219c6e8310e0e2eef
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 10:00:21 2023 +0300

    gnu: Add rust-sqlite3-sys-0.15.
    
    * gnu/packages/crates-io.scm (rust-sqlite3-sys-0.15): New variable.
    (rust-sqlite3-sys-0.13): Inherit from rust-sqlite3-sys-0.15.
    
    Change-Id: I58a146147f2c39eba9544cd9e310439e8aad7dee
---
 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 13df928c7b..09b93291eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70735,8 +70735,31 @@ OIDs)")
     (description "The package provides SQLite.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-sqlite3-sys-0.15
+  (package
+    (name "rust-sqlite3-sys")
+    (version "0.15.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlite3-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fq6m21dnd5yqrzknsmnl2565nahdwa29s7x12xhxr1kjik2qxgj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-sqlite3-src" ,rust-sqlite3-src-0.5))
+       #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))
+    (inputs (list sqlite))
+    (home-page "https://github.com/stainless-steel/sqlite3-sys";)
+    (synopsis "Bindings to SQLite")
+    (description "The package provides bindings to SQLite.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-sqlite3-sys-0.13
   (package
+    (inherit rust-sqlite3-sys-0.15)
     (name "rust-sqlite3-sys")
     (version "0.13.0")
     (source
@@ -70746,16 +70769,11 @@ OIDs)")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
-        ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))))
-    (home-page "https://github.com/stainless-steel/sqlite3-sys";)
-    (synopsis "Bindings to SQLite")
-    (description "The package provides bindings to SQLite.")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))))))
 
 (define-public rust-st-map-0.1
   (package



reply via email to

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