mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: Add rust-lmdb-rs-0.7.
* gnu/packages/crates-database.scm (rust-lmdb-rs-0.7): New variable. Change-Id: I43c2d11caf560cdb5c4aa17ff6cf971cc535bcd2
This commit is contained in:
parent
4366c83608
commit
07451de9ed
1 changed files with 28 additions and 0 deletions
|
@ -429,6 +429,34 @@ (define-public rust-libsqlite3-sys-0.20
|
|||
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||
("rust-vcpkg" ,rust-vcpkg-0.2))))))
|
||||
|
||||
(define-public rust-lmdb-rs-0.7
|
||||
(package
|
||||
(name "rust-lmdb-rs")
|
||||
(version "0.7.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "lmdb-rs" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1rv7c7iwgbwx92igm2r3aza8phr0lvvwqd9gwjf655gp6fsfgvsa"))
|
||||
(snippet
|
||||
#~(begin (use-modules (guix build utils))
|
||||
(substitute* "Cargo.toml"
|
||||
;; Don't assume liblmdb-sys is in a subdirectory.
|
||||
(("path = .*") ""))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-liblmdb-sys" ,rust-liblmdb-sys-0.2)
|
||||
("rust-log" ,rust-log-0.3))))
|
||||
(inputs (list lmdb))
|
||||
(home-page "https://github.com/vhbit/lmdb-rs")
|
||||
(synopsis "LMDB bindings")
|
||||
(description "This package provides LMDB bindings.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-mysqlclient-sys-0.2
|
||||
(package
|
||||
(name "rust-mysqlclient-sys")
|
||||
|
|
Loading…
Reference in a new issue