summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJai Vetrivelan <jaivetrivelan@gmail.com>2022-02-13 20:51:27 +0530
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-14 10:59:31 +0100
commit919251ed62c411f6c6494f904ffab24431fbf78d (patch)
tree982468e7ab9027653f57320efa864d40be0ba183 /gnu
parent066cdbfa92698eb19e2f9437e8833e67929b7a21 (diff)
gnu: Add rtss.
* gnu/packages/rust-apps.scm (rtss): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust-apps.scm22
1 files changed, 22 insertions, 0 deletions
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 @@ library and a dynamic library, and a C header to be used by any C (and
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")