guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53972] [PATCH] gnu: Add rtss.


From: Jai Vetrivelan
Subject: [bug#53972] [PATCH] gnu: Add rtss.
Date: Sun, 13 Feb 2022 20:51:27 +0530

>From e03fbcb6ef1823711d82ffc1bd7dc64901bdbd18 Mon Sep 17 00:00:00 2001
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
Date: Sun, 13 Feb 2022 20:10:09 +0530
Subject: [PATCH] gnu: Add rtss.

* gnu/packages/rust-apps.scm (rtss): New variable.
---
 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 a97fcc7968..888d291910 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1579,6 +1579,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")

base-commit: e8af2ea63a7f497b8f8e19e206645109c0646e72
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]