guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 910d808ae580a187178252fccecb10a698b23119
Author: ROCKTAKEY <[email protected]>
AuthorDate: Tue Dec 30 01:03:48 2025 +0900

    gnu: Add witr.
    
    Change-Id: I681e0b12f8b132b647685507c97c85207402513b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/admin.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 86d54aa334..800b0eb240 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -78,6 +78,7 @@
 ;;; Copyright © 2024 nik gaffney <[email protected]>
 ;;; Copyright © 2025 Simon Streit <[email protected]>
 ;;; Copyright © 2025 Luca Kredel <[email protected]>
+;;; Copyright © 2025 ROCKTAKEY <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6950,6 +6951,41 @@ with which other processes.  It provides more usable 
versions of @command{ps},
 network, which causes enabled computers to power on.")
     (license license:gpl2+)))
 
+(define-public witr
+  (package
+    (name "witr")
+    (version "0.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/pranshuparmar/witr";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "016yiwn0b00ynllka6h2w6gk2yjzj5nx2xf26shb0cz4crdwww0d"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:install-source? #f
+      #:import-path "github.com/pranshuparmar/witr/cmd/witr"
+      #:unpack-path "github.com/pranshuparmar/witr"
+      #:build-flags #~(list "-ldflags"
+                            (string-append "-X main.version=" #$version))))
+    (home-page "https://github.com/pranshuparmar/witr";)
+    (synopsis "Utility to show why the process is running")
+    (description
+     "The @dfn{witr} (why-is-this-running), is a utility to show:
+@enumerate
+@item What is running?
+@item How did it start?
+@item What is keeping it running?
+@item What context does it belong to?
+@end enumerate
+It shows which process uses the port, and its information like process tree,
+working directory, user, pid, command, and so on.")
+    (license license:asl2.0)))
+
 (define-public xfel
   (package
     (name "xfel")

Reply via email to