me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-rusqlite-0.23.

* gnu/packages/crates-io.scm (rust-rusqlite-0.23): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Joseph LaFreniere 2020-11-20 08:27:09 -06:00 committed by Efraim Flashner
parent 7c0539d096
commit a54b067e1e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 57 additions and 0 deletions

View File

@ -23946,6 +23946,63 @@ console applications.")
(description "This prackage provides a wrapper for SQLite.")
(license license:expat)))
(define-public rust-rusqlite-0.23
(package
(inherit rust-rusqlite-0.24)
(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)))))))
(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))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'enable-unstable-features
(lambda _
(setenv "RUSTC_BOOTSTRAP" "1")
#t)))))
(native-inputs
`(("pkg-config" ,pkg-config)))))
(define-public rust-rust-argon2-0.7
(package
(name "rust-rust-argon2")