3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add rust-rusqlite-0.25.

* gnu/packages/crates-io.scm (rust-rusqlite-0.25): New variable.
(rust-rusqlite-0.24): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-06-15 13:27:36 +02:00
parent 09e1cebcdc
commit fa071844d9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -36534,8 +36534,44 @@ please consider using @code{async-std} or @code{tokio}.")
"This package provides a Tokio-based asynchronous runtime.")
(license (list license:expat license:asl2.0))))
(define-public rust-rusqlite-0.25
(package
(name "rust-rusqlite")
(version "0.25.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "rusqlite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1csfxb0jff78gzakva3bwgmm5g0dk90pnalc4krrdbzsr1kwzbap"))))
(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.22)
("rust-memchr" ,rust-memchr-2)
("rust-serde-json" ,rust-serde-json-1)
("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)))
(define-public rust-rusqlite-0.24
(package
(inherit rust-rusqlite-0.25)
(name "rust-rusqlite")
(version "0.24.2")
(source
@ -36545,7 +36581,6 @@ please consider using @code{async-std} or @code{tokio}.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04jiqa9y7pk7byk0kicjxqy75jifz1v4xhhaxhkwicms3kkqxwym"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -36563,11 +36598,7 @@ please consider using @code{async-std} or @code{tokio}.")
("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 prackage provides a wrapper for SQLite.")
(license license:expat)))
("rust-uuid" ,rust-uuid-0.8))))))
(define-public rust-rusqlite-0.23
(package