gnu: Add rust-lmdb-rkv-sys-0.11.

* gnu/packages/crates-io.scm (rust-lmdb-rkv-sys-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Joseph LaFreniere 2020-11-20 08:27:04 -06:00 committed by Efraim Flashner
parent 46c2cf6902
commit f8896b3b65
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -14900,6 +14900,41 @@ (define-public rust-libssh2-sys-0.2
(license (list license:asl2.0
license:expat))))
(define-public rust-lmdb-rkv-sys-0.11
(package
(name "rust-lmdb-rkv-sys")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "lmdb-rkv-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1994mvbdxkvq6c3z9npv1zjpvrhvpk9zry3azgyklyqn4nn70x5j"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "lmdb")
#t))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests fail after removing bundled source.
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-bindgen" ,rust-bindgen-0.53)
("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("lmdb" ,lmdb)))
(home-page "https://github.com/mozilla/lmdb-rs")
(synopsis "Rust bindings for liblmdb")
(description "This package provides rust bindings for liblmdb.")
(license license:asl2.0)))
(define-public rust-locale-0.2
(package
(name "rust-locale")