gnu: Add rust-rusqlite-0.26.

* gnu/packages/crates-io.scm (rust-rusqlite-0.26): New variable.
(rust-rusqlite-0.25): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-12-17 22:52:02 +01:00 committed by Leo Famulari
parent e6ab5944e8
commit 553ea09786
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -44156,8 +44156,45 @@ (define-public rust-runtime-tokio-0.3
"This package provides a Tokio-based asynchronous runtime.")
(license (list license:expat license:asl2.0))))
(define-public rust-rusqlite-0.26
(package
(name "rust-rusqlite")
(version "0.26.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rusqlite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "19sh4nnw1i7a6wacqllz20qpqpdj96jsg3dzaq61cwmd3ywv10la"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-byteorder" ,rust-byteorder-1)
("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.7)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.23)
("rust-memchr" ,rust-memchr-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-0.8))))
(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.25
(package
(inherit rust-rusqlite-0.26)
(name "rust-rusqlite")
(version "0.25.3")
(source
@ -44167,7 +44204,6 @@ (define-public rust-rusqlite-0.25
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1csfxb0jff78gzakva3bwgmm5g0dk90pnalc4krrdbzsr1kwzbap"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -44185,11 +44221,7 @@ (define-public rust-rusqlite-0.25
("rust-smallvec" ,rust-smallvec-1)
("rust-time" ,rust-time-0.2)
("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-rusqlite-0.24
(package