diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-09-21 12:28:29 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-09-23 00:21:38 +0200 |
commit | d8f2e958dd2d1bd0453e488e59c50f531dd57288 (patch) | |
tree | 114d7f16e2ce1d9f31fd6da498d15095181f4171 | |
parent | 90cc8a075213472bfed0dcbd8dfe733dbcf3c2e3 (diff) | |
download | guix-d8f2e958dd2d1bd0453e488e59c50f531dd57288.tar.gz |
gnu: Add rust-metrics-0.14.
* gnu/packages/crates-io.scm (rust-metrics-0.14): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8a6097ebae..ae888888f3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35232,6 +35232,30 @@ and XXH3 algorithms.") (description "This package provides macros for the metrics crate.") (license license:expat))) +(define-public rust-metrics-0.14 + (package + (name "rust-metrics") + (version "0.14.2") + (source (origin + (method url-fetch) + (uri (crate-uri "metrics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lf80vznlh0p06nchj08nlqgf3bajnwr6w3syflg7ffg3mh8bqjq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-metrics-macros" ,rust-metrics-macros-0.2) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/metrics-rs/metrics") + (synopsis "Lightweight metrics facade") + (description "This package provides a lightweight metrics facade.") + (license license:expat))) + (define-public rust-metrohash-1 (package (name "rust-metrohash") |