diff options
author | Joseph LaFreniere <joseph@lafreniere.xyz> | 2020-11-20 08:27:05 -0600 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-17 11:49:39 +0200 |
commit | f3092981fbb2aeb17d9bc4acba859d226578ddc7 (patch) | |
tree | a747542fe651cd2ece058158c388269c2dea8acd | |
parent | f8896b3b65f1449ec8d8dabc45a03265d93beb20 (diff) | |
download | guix-f3092981fbb2aeb17d9bc4acba859d226578ddc7.tar.gz |
gnu: Add rust-lmdb-rkv-0.14.
* gnu/packages/crates-io.scm (rust-lmdb-rkv-0.14): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4f04d99464..dc5f0e15cc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14900,6 +14900,39 @@ punctuation.") (license (list license:asl2.0 license:expat)))) +(define-public rust-lmdb-rkv-0.14 + (package + (name "rust-lmdb-rkv") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lmdb-rkv" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0aylp9j3s34cgxfj3dszcnplj5a594ylykhgnpxrqafag9pjjyj4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-lmdb-rkv-sys" ,rust-lmdb-rkv-sys-0.11)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("lmdb" ,lmdb))) + (home-page "https://github.com/mozilla/lmdb-rs") + (synopsis "Safe Rust bindings for LMDB") + (description "This package provides idiomatic and safe APIs for interacting +with lmdb.") + (license license:asl2.0))) + (define-public rust-lmdb-rkv-sys-0.11 (package (name "rust-lmdb-rkv-sys") |