diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:09:20 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:56 +0300 |
commit | d33f8ecc6adbb9f3062376aaf1de7187fa11a0ce (patch) | |
tree | 3700f1d166f59eb3c96a35c74191092058afc130 /gnu/packages | |
parent | 019282b54e44f83a0142a5d4b5367544613cac32 (diff) | |
download | guix-d33f8ecc6adbb9f3062376aaf1de7187fa11a0ce.tar.gz |
gnu: Add rust-rusqlite-0.29.
* gnu/packages/crates-io.scm (rust-rusqlite-0.29): New variable. (rust-rusqlite-0.26): Inherit from rust-rusqlite-0.29.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 48 |
1 files changed, 42 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ca9c7325c2..dc1cf5eabf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -52484,8 +52484,49 @@ please consider using @code{async-std} or @code{tokio}.") (description "This package provides traits to implement custom Runtimes.") (license (list license:expat license:asl2.0)))) +(define-public rust-rusqlite-0.29 + (package + (name "rust-rusqlite") + (version "0.29.0") + (source (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl")))) + (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.2) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.8) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.26) + ("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)))) + (inputs (list sqlite)) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Wrapper for SQLite") + (description "This crate provides a wrapper for SQLite.") + (license license:expat))) + (define-public rust-rusqlite-0.26 (package + (inherit rust-rusqlite-0.29) (name "rust-rusqlite") (version "0.26.1") (source @@ -52495,7 +52536,6 @@ please consider using @code{async-std} or @code{tokio}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19sh4nnw1i7a6wacqllz20qpqpdj96jsg3dzaq61cwmd3ywv10la")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -52514,11 +52554,7 @@ please consider using @code{async-std} or @code{tokio}.") ("rust-smallvec" ,rust-smallvec-1) ("rust-time" ,rust-time-0.3) ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8)))) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Wrapper for SQLite") - (description "This crate provides a wrapper for SQLite.") - (license license:expat))) + ("rust-uuid" ,rust-uuid-0.8)))))) (define-public rust-rust-htslib-0.38 (package |