From e5314263f32b8da2eda94d339960ffedf8d344e8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 14 Mar 2024 12:30:45 +0200 Subject: [PATCH] gnu: Add rust-rusqlite-0.31. * gnu/packages/crates-io.scm (rust-rusqlite-0.31): New variable. (rust-rusqlite-0.30): Inherit from rust-rusqlite-0.31. Change-Id: I8f82c68f075824c316d9179af6b1bd83211036aa --- gnu/packages/crates-io.scm | 68 +++++++++++++++++++++++++++++--------- 1 file changed, 52 insertions(+), 16 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1c107d021c..1113e5f097 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57343,32 +57343,33 @@ please consider using @code{async-std} or @code{tokio}.") (description "This package provides a Tokio-based asynchronous runtime.") (license (list license:expat license:asl2.0)))) -(define-public rust-rusqlite-0.30 +(define-public rust-rusqlite-0.31 (package (name "rust-rusqlite") - (version "0.30.0") + (version "0.31.0") (source (origin (method url-fetch) (uri (crate-uri "rusqlite" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kgjk7h53wp8k2di2j83ivf50f0bk6rg7bq8j36ygxb42lb4d057")))) + (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.8) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27) - ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-1)) + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.9) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-lazy-static" ,rust-lazy-static-1) @@ -57382,6 +57383,41 @@ please consider using @code{async-std} or @code{tokio}.") (description "This crate provides a wrapper for SQLite.") (license license:expat))) +(define-public rust-rusqlite-0.30 + (package + (inherit rust-rusqlite-0.31) + (name "rust-rusqlite") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kgjk7h53wp8k2di2j83ivf50f0bk6rg7bq8j36ygxb42lb4d057")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.8) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))))) + (define-public rust-rusqlite-0.29 (package (inherit rust-rusqlite-0.30)