diff options
author | Joseph LaFreniere <joseph@lafreniere.xyz> | 2020-11-20 08:27:04 -0600 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-17 11:49:39 +0200 |
commit | f8896b3b65f1449ec8d8dabc45a03265d93beb20 (patch) | |
tree | 6793f11ac7e8d536f81b4f79800a1f3fe919ad05 /gnu/packages/crates-io.scm | |
parent | 46c2cf6902c81ef61060337ff25a9e1eb23d8b49 (diff) | |
download | guix-f8896b3b65f1449ec8d8dabc45a03265d93beb20.tar guix-f8896b3b65f1449ec8d8dabc45a03265d93beb20.tar.gz |
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>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6cf276c904..4f04d99464 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14900,6 +14900,41 @@ punctuation.") (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") |