diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-09 11:55:35 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:49:44 +0100 |
commit | 482aa642f08b7d68906fc36231685f30765baf70 (patch) | |
tree | d70e28c8f2cd9856c085b0a7078a4fdfc839dca8 | |
parent | b86e9df4cecb11fc1d1c6c3dd39fec5b7a2aacc6 (diff) | |
download | guix-482aa642f08b7d68906fc36231685f30765baf70.tar.gz guix-482aa642f08b7d68906fc36231685f30765baf70.zip |
gnu: Add rust-bson-0.14.
* gnu/packages/crates-io.scm (rust-bson-0.14): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 11083f4315..06450105d4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4579,6 +4579,38 @@ bytes), doesn't have the 128 byte limitation and supports a configurable alphabet.") (license (list license:asl2.0 license:expat)))) +(define-public rust-bson-0.14 + (package + (name "rust-bson") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bson" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "000wqyb4icy32h74wl5wb6iw2flzwwlrpgq51xgcw91g2b87w5rw")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-decimal" ,rust-decimal-2) + ("rust-hex" ,rust-hex-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-md5" ,rust-md5-0.6) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.1)))) + (home-page "https://github.com/mongodb/bson-rust") + (synopsis "Encoding and decoding support for BSON in Rust") + (description + "This package provides encoding and decoding support for BSON in Rust.") + (license license:expat))) + (define-public rust-bstr-0.2 (package (name "rust-bstr") |