From a79e79bde4fadb88ecff16ed852cd9dab9e454d2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 May 2023 16:59:51 +0300 Subject: [PATCH] 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 | 40 ++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 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,21 +33652,21 @@ 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.23 +(define-public rust-libsqlite3-sys-0.26 (package (name "rust-libsqlite3-sys") - (version "0.23.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n6b4mlpw9l74cl5mahnpaanyjsgpmz5y517kmnk6v09fiygrjnj")))) + (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.59) + (("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) @@ -33678,6 +33678,26 @@ single-cell and single-nucleus sequencing data.") (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 + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n6b4mlpw9l74cl5mahnpaanyjsgpmz5y517kmnk6v09fiygrjnj")))) + (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)))))) + (define-public rust-libsqlite3-sys-0.22 (package (inherit rust-libsqlite3-sys-0.23)