summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-01-15 10:14:32 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-15 14:27:42 +0200
commitf15afc169aba6236092279c4aa6abc45d66658bf (patch)
tree05c64935046e58e0806c1c30dc938aa95eda9920
parent7bf7bcf97bf8ca59d99b4f7312b9768ae330aaae (diff)
gnu: Add rust-histo-1.
* gnu/packages/crates-io.scm (rust-histo-1): New variable. Change-Id: Ib1e8f13bcdc111700ce6e83d466f1f0a408b7eb7
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80cd125354..de1832be27 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31891,6 +31891,27 @@ the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.")
scientific applications with leap second support.")
(license license:asl2.0)))
+(define-public rust-histo-1
+ (package
+ (name "rust-histo")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "histo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v6znd33clam2b37rhn2pldd39l61605s1ivxzpjwdygi8f6mad6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-quickcheck" ,rust-quickcheck-0.4)
+ ("rust-streaming-stats" ,rust-streaming-stats-0.1))))
+ (home-page "https://github.com/fitzgen/histo")
+ (synopsis "Simple histograms with configurable buckets")
+ (description
+ "This package provides simple histograms with configurable buckets.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-home-0.5
(package
(name "rust-home")