guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 182/311: gnu: Add rust-sqlite3-sys-0.15.
Date: Sat, 28 Oct 2023 16:39:03 -0400 (EDT)

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

commit a5a5ead6c8c054f520f4c2b412d0978d66f669b9
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 e5f1541172..887a19c4e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70720,8 +70720,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
@@ -70731,16 +70754,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]