Subject: [bug#44492] [PATCH v8 33/51] gnu: Add rust-lmdb-0.8.

From: Leo Prikler <[email-masked]>
Date: Wed, 17 Mar 2021 21:27:17 +0100

* gnu/packages/crates-io.scm (rust-lmdb-0.8): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0afa68eba2..bd1b4dcd16 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21969,6 +21969,35 @@ punctuation.")
     (description "This package provides Rust bindings for liblmdb.")
     (license license:asl2.0)))
 
+(define-public rust-lmdb-0.8
+  (package
+    (name "rust-lmdb")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lmdb" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fc54in9i27v1gpxncay5s85lqx27m0r2vyrfylnljfnnpphh2av"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; use of unstable feature
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-lmdb-sys" ,rust-lmdb-sys-0.8))
+       #:cargo-development-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-tempdir" ,rust-tempdir-0.3))))
+    (home-page "https://github.com/danburkert/lmdb-rs.git")
+    (synopsis "LMDB wrapper")
+    (description "This package provides an idiomatic Rust wrapper for LMDB.")
+    (license license:asl2.0)))
+
 (define-public rust-lmdb-rkv-0.14
   (package
     (name "rust-lmdb-rkv")
-- 
2.31.0