unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Joseph LaFreniere <joseph@lafreniere.xyz>
To: 44762@debbugs.gnu.org
Cc: Joseph LaFreniere <joseph@lafreniere.xyz>
Subject: [bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23.
Date: Fri, 20 Nov 2020 08:27:09 -0600	[thread overview]
Message-ID: <20201120142716.41949-30-joseph@lafreniere.xyz> (raw)
In-Reply-To: <20201120142716.41949-1-joseph@lafreniere.xyz>

* 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





  parent reply	other threads:[~2020-11-20 14:31 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 14:15 [bug#44762] [PATCH 00/37] gnu: Add ripgrep-all Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 02/37] gnu: rust-anyhow-1.0: Update to 1.0.34 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 03/37] gnu: Add rust-escargot-0.3 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 04/37] gnu: Add rust-predicates-core-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 05/37] gnu: Add rust-predicates-tree-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 06/37] gnu: Add rust-normalize-line-endings-0.2 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 07/37] gnu: Add rust-predicates-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 08/37] gnu: Add rust-assert-cmd-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 09/37] gnu: Add rust-automod-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 10/37] gnu: Add rust-bincode-0.8 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 11/37] gnu: Add rust-bindgen-0.46 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 12/37] gnu: Add rust-bzip2-0.4 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 13/37] gnu: Add rust-cachedir-0.1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 14/37] gnu: Add rust-cfg-if-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 16/37] gnu: rust-derive-more-0.99: Update to 0.99.11 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 17/37] gnu: Add rust-dirs-sys-next-0.1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 18/37] gnu: Add rust-dirs-next-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 19/37] gnu: Add rust-directories-next-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 20/37] gnu: Add rust-exitfailure-0.5 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 21/37] gnu: Add rust-float-cmp-0.4 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 22/37] gnu: Add rust-tabwriter-1 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 23/37] gnu: Add rust-size-format-1 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 24/37] gnu: Add rust-nom-2 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 25/37] gnu: Add rust-lmdb-rkv-sys-0.11 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 26/37] gnu: Add rust-lmdb-rkv-0.14 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 27/37] gnu: Add rust-libsqlite3-sys-0.18 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 28/37] gnu: Add rust-serde-stacker-0.1 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 29/37] gnu: rust-serde-json-1: Update to 1.0.59 Joseph LaFreniere
2020-11-20 14:27   ` Joseph LaFreniere [this message]
2020-11-20 14:27   ` [bug#44762] [PATCH 31/37] gnu: Add rust-packed-simd-2-0.3 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 32/37] gnu: Add rust-pure-rust-locales-0.5 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 33/37] gnu: Add rust-rkv-0.10 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 34/37] gnu: Add rust-tree-magic-fork-0.2 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 35/37] gnu: rust-encoding-rs-0.8: Update to 0.8.26 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 36/37] gnu: rust-lzma-sys-0.1: Update to 0.1.17 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all Joseph LaFreniere
2020-12-12 20:19     ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201120142716.41949-30-joseph@lafreniere.xyz \
    --to=joseph@lafreniere.xyz \
    --cc=44762@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).