diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-19 10:42:57 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:56 +0200 |
commit | a51fe3f0bebe08178034e85eba9eb4460f22156c (patch) | |
tree | 8fa37370168a923918ba2ad68343ffb4f8702049 | |
parent | f0a4158583014ab0e8c47db7094352786f476ebb (diff) | |
download | guix-a51fe3f0bebe08178034e85eba9eb4460f22156c.tar.gz |
gnu: Add rust-string-cache-0.7.
* gnu/packages/crates-io.scm (rust-string-cache-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8dd8a78a75..ebdab44cdc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8976,6 +8976,40 @@ crate.") (license (list license:unlicense license:expat)))) +(define-public rust-string-cache-0.7 + (package + (name "rust-string-cache") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "string_cache" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08sly9s92l0g0ai1iyj9pawl05xbwm4m8kl3zqkv2wkijw4h3mr5")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-new-debug-unreachable" + ,rust-new-debug-unreachable-1.0) + ("rust-phf-shared" ,rust-phf-shared-0.7) + ("rust-precomputed-hash" ,rust-precomputed-hash-0.1) + ("rust-serde" ,rust-serde-1.0) + ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.4) + ("rust-string-cache-shared" ,rust-string-cache-shared-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/servo/string-cache") + (synopsis "String interning library for Rust") + (description + "This package provides a string interning library for Rust, +developed as part of the Servo project.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-string-cache-shared-0.3 (package (name "rust-string-cache-shared") |