summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 20:53:03 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:06 +0200
commit4f40b4e7954bed76dcacc1364be3695d34abee07 (patch)
tree4063c35e1863fb93994c4860b46c544bd538aef1 /gnu
parentb9dc1b2552a1dbd52240cb7baff3747747272754 (diff)
gnu: Add rust-countme-2.
* gnu/packages/crates-io.scm (rust-countme-2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a03d7d1338..d35f3ea662 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9538,6 +9538,32 @@ intrinsics.")
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-countme-2
+ (package
+ (name "rust-countme")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "countme" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0n6bzg2g6gsmgabyzbcfkyb9y9mzxsvavng85d04wkdsvhmq52rj"))))
+ (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-cpp-demangle-0.3
(package
(name "rust-cpp-demangle")