From 919251ed62c411f6c6494f904ffab24431fbf78d Mon Sep 17 00:00:00 2001 From: Jai Vetrivelan Date: Sun, 13 Feb 2022 20:51:27 +0530 Subject: gnu: Add rtss. * gnu/packages/rust-apps.scm (rtss): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/rust-apps.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 725677b3d9..5b27bf3647 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -1585,6 +1585,28 @@ (define-public rust-cargo-c C-compatible) software.") (license license:expat))) +(define-public rtss + (package + (name "rtss") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rtss" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r1b6fynkjnpj5p3k209sa13mjvh4k0ghzwnribm48dh9v7lfnnv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-memchr" ,rust-memchr-2)))) + (home-page "https://github.com/Freaky/rtss") + (synopsis "Annotate stdout/stderr with elapsed times") + (description "@code{rtss} annotates its output with relative durations between +consecutive lines and since program start.") + (license license:expat))) + (define-public swayhide (package (name "swayhide") -- cgit v1.2.3