guix-commits
[Top][All Lists]
Advanced

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

48/330: gnu: Add rust-libsqlite3-sys-0.28.


From: guix-commits
Subject: 48/330: gnu: Add rust-libsqlite3-sys-0.28.
Date: Mon, 18 Mar 2024 07:15:07 -0400 (EDT)

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

commit fefa3c9a85934438dfe7836b726e1add47d7187e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:28:12 2024 +0200

    gnu: Add rust-libsqlite3-sys-0.28.
    
    * gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.28): New variable.
    (rust-libsqlite3-sys-0.27): Inherit from rust-libsqlite3-sys-0.28.
    
    Change-Id: I3b3f6b801c25fb58d8ca1844bf84130b85023d77
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02ce006068..03568ae5f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34769,17 +34769,17 @@ This package contains the protobuf logic.")
     (description "This package provides Rust bindings to libsensors.")
     (license license:miros)))
 
-(define-public rust-libsqlite3-sys-0.27
+(define-public rust-libsqlite3-sys-0.28
   (package
     (name "rust-libsqlite3-sys")
-    (version "0.27.0")
+    (version "0.28.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "libsqlite3-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "05pp60ncrmyjlxxjj187808jkvpxm06w5lvvdwwvxd2qrmnj4kng"))))
+        (base32 "0gzwfw0n2wqgaihcgj65wzd3lclfxyy62gixq8sv6z04fi15h40c"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
@@ -34793,9 +34793,32 @@ This package contains the protobuf logic.")
     (inputs (list sqlite))
     (home-page "https://github.com/rusqlite/rusqlite";)
     (synopsis "Native bindings to the libsqlite3 library")
-    (description "Native bindings to the libsqlite3 library.")
+    (description
+     "This package provides native Rust bindings to the libsqlite3 library.")
     (license license:expat)))
 
+(define-public rust-libsqlite3-sys-0.27
+  (package
+    (inherit rust-libsqlite3-sys-0.28)
+    (name "rust-libsqlite3-sys")
+    (version "0.27.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libsqlite3-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05pp60ncrmyjlxxjj187808jkvpxm06w5lvvdwwvxd2qrmnj4kng"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3)
+                       ("rust-prettyplease" ,rust-prettyplease-0.2)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-vcpkg" ,rust-vcpkg-0.2))))))
+
 (define-public rust-libsqlite3-sys-0.26
   (package
     (inherit rust-libsqlite3-sys-0.27)



reply via email to

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