[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23.
From: |
Joseph LaFreniere |
Subject: |
[bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23. |
Date: |
Fri, 20 Nov 2020 08:27:09 -0600 |
* gnu/packages/crates-io.scm (rust-rusqlite-0.23): New variable.
---
gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08a2609527..7c6d6a4286 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22667,6 +22667,68 @@ rust.")
console applications.")
(license license:asl2.0)))
+(define-public rust-rusqlite-0.23
+ (package
+ (name "rust-rusqlite")
+ (version "0.23.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12z5584sylfqg7v2fyiycahyg0hf186v8v2ff5ad4qyzw5igvl25"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Enable unstable features
+ (substitute* "src/lib.rs"
+ (("#!\\[allow\\(unknown_lints\\)\\]" all)
+ (string-append
+ "#![feature(cfg_doctest)]\n"
+ "#![feature(non_exhaustive)]\n"
+ all)))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-csv" ,rust-csv-1.1)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
+ ("rust-fallible-streaming-iterator"
+ ,rust-fallible-streaming-iterator-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.18)
+ ("rust-lru-cache" ,rust-lru-cache-0.1)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-0.8))
+ #: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-0.8))
+ #:features '("bundled-full")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1")
+ #t)))))
+ (inputs
+ `(("sqlite" ,sqlite)))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Wrapper for SQLite")
+ (description "This package provides a wrapper for SQLite.")
+ (license license:expat)))
+
(define-public rust-rusqlite-0.19
(package
(name "rust-rusqlite")
--
2.29.1
- [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19., (continued)
- [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 19/37] gnu: Add rust-directories-next-1., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 22/37] gnu: Add rust-tabwriter-1., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 31/37] gnu: Add rust-packed-simd-2-0.3., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 33/37] gnu: Add rust-rkv-0.10., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 34/37] gnu: Add rust-tree-magic-fork-0.2., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 28/37] gnu: Add rust-serde-stacker-0.1., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 20/37] gnu: Add rust-exitfailure-0.5., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 27/37] gnu: Add rust-libsqlite3-sys-0.18., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 26/37] gnu: Add rust-lmdb-rkv-0.14., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23.,
Joseph LaFreniere <=
- [bug#44762] [PATCH 36/37] gnu: rust-lzma-sys-0.1: Update to 0.1.17., Joseph LaFreniere, 2020/11/20
- [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all., Joseph LaFreniere, 2020/11/20