From 8c59eb14d55a02a5800d53e569b8cd7fd67e2426 Mon Sep 17 00:00:00 2001 From: Z572 <873216071@qq.com> Date: Wed, 12 Jan 2022 23:27:23 +0800 Subject: [PATCH] gnu: Add rust-countme-3. * gnu/packages/crates-io.scm (rust-countme-3): New variable. (rust-countme-2): Inherit from above. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c9179cc501..6abc70159c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11907,8 +11907,35 @@ intrinsics.") (description "This package provides a Manual coverage marks.") (license (list license:expat license:asl2.0)))) +(define-public rust-countme-3 + (package + (name "rust-countme") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "countme" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10z4r1xx77sr8axp3lsgc0azidazwgnhpzig2gcx5dfrdl66wx03")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dashmap" ,rust-dashmap-4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rustc-hash" ,rust-rustc-hash-1)))) + (home-page "https://github.com/matklad/countme") + (synopsis + "Counts the number of live instances of types") + (description + "This package provides a counts the number of live instances of types.") + (license (list license:expat license:asl2.0)))) + (define-public rust-countme-2 (package + (inherit rust-countme-3) (name "rust-countme") (version "2.0.4") (source @@ -11925,13 +11952,7 @@ intrinsics.") `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-4) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rustc-hash" ,rust-rustc-hash-1)))) - (home-page "https://github.com/matklad/countme") - (synopsis - "Counts the number of live instances of types") - (description - "This package provides a counts the number of live instances of types.") - (license (list license:expat license:asl2.0)))) + ("rust-rustc-hash" ,rust-rustc-hash-1)))))) (define-public rust-cpp-demangle-0.3 (package