diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-19 22:15:31 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-23 22:23:12 +0200 |
commit | 30ceaf3700b3569a911c90fa56bd15a55f5c0467 (patch) | |
tree | f13b04962787196f2feb7a8c5782211109d18283 | |
parent | b950135eb753d152de9c4f1af97591a25851658d (diff) | |
download | guix-30ceaf3700b3569a911c90fa56bd15a55f5c0467.tar.gz |
gnu: Add rust-smallvec-1.
* gnu/packages/crates-io.scm (rust-smallvec-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cb90641e65..fd5ed8687d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13441,6 +13441,32 @@ data type.") license:expat license:asl2.0)))) +(define-public rust-smallvec-1 + (package + (name "rust-smallvec") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "smallvec" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z6f47i3qpg9pdjzzvb0g5i1vvdm2ymk3kqc1mdnl8fdkgnb4bsw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1.0)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1)))) + (home-page "https://github.com/servo/rust-smallvec") + (synopsis "Small vector optimization") + (description + "'Small vector' optimization: store up to a small number of items on the +stack.") + (license (list license:expat license:asl2.0)))) + (define-public rust-smallvec-0.6 (package (name "rust-smallvec") |