guix-commits
[Top][All Lists]
Advanced

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

272/379: gnu: Add rust-libsqlite3-sys-0.26.


From: guix-commits
Subject: 272/379: gnu: Add rust-libsqlite3-sys-0.26.
Date: Mon, 10 Jul 2023 05:29:00 -0400 (EDT)

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

commit bd188d967152cc5f0dc70ec6e9b3ec466da39279
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:59:51 2023 +0300

    gnu: Add rust-libsqlite3-sys-0.26.
    
    * gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.26): New variable.
    (rust-libsqlite3-sys-0.23): Inherit from rust-libsqlite3-sys-0.26.
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++--------
 1 file changed, 28 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59ea4532c8..c90e8b4a53 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33652,8 +33652,35 @@ suite of tools for the rapid, accurate and 
memory-frugal processing
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-libsqlite3-sys-0.26
+  (package
+    (name "rust-libsqlite3-sys")
+    (version "0.26.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libsqlite3-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "09j3v5nhgvjdyskgwajhg9g6v3b2ij0lxiz8qqav2cxic7zjxhmg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bindgen" ,rust-bindgen-0.64)
+        ("rust-cc" ,rust-cc-1)
+        ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+        ("rust-pkg-config" ,rust-pkg-config-0.3)
+        ("rust-vcpkg" ,rust-vcpkg-0.2))))
+    (inputs
+     (list sqlite))
+    (home-page "https://github.com/rusqlite/rusqlite";)
+    (synopsis "Native bindings to the libsqlite3 library")
+    (description "Native bindings to the libsqlite3 library")
+    (license license:expat)))
+
 (define-public rust-libsqlite3-sys-0.23
   (package
+    (inherit rust-libsqlite3-sys-0.26)
     (name "rust-libsqlite3-sys")
     (version "0.23.2")
     (source
@@ -33663,20 +33690,13 @@ single-cell and single-nucleus sequencing data.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0n6b4mlpw9l74cl5mahnpaanyjsgpmz5y517kmnk6v09fiygrjnj"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bindgen" ,rust-bindgen-0.59)
         ("rust-cc" ,rust-cc-1)
         ("rust-openssl-sys" ,rust-openssl-sys-0.9)
         ("rust-pkg-config" ,rust-pkg-config-0.3)
-        ("rust-vcpkg" ,rust-vcpkg-0.2))))
-    (inputs
-     (list sqlite))
-    (home-page "https://github.com/rusqlite/rusqlite";)
-    (synopsis "Native bindings to the libsqlite3 library")
-    (description "Native bindings to the libsqlite3 library")
-    (license license:expat)))
+        ("rust-vcpkg" ,rust-vcpkg-0.2))))))
 
 (define-public rust-libsqlite3-sys-0.22
   (package



reply via email to

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