diff options
| author | ROCKTAKEY <rocktakey@gmail.com> | 2025-12-30 01:03:48 +0900 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-31 14:15:01 +0000 |
| commit | 910d808ae580a187178252fccecb10a698b23119 (patch) | |
| tree | c0b467c827c7c2f60493afc8962e72b0800f114a /gnu | |
| parent | bbb8b2903eeae8ad2b273894c1855c91726fb0f8 (diff) | |
gnu: Add witr.
Change-Id: I681e0b12f8b132b647685507c97c85207402513b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/admin.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 86d54aa3343..800b0eb2401 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm | |||
| @@ -78,6 +78,7 @@ | |||
| 78 | ;;; Copyright © 2024 nik gaffney <nik@fo.am> | 78 | ;;; Copyright © 2024 nik gaffney <nik@fo.am> |
| 79 | ;;; Copyright © 2025 Simon Streit <simon@netpanic.org> | 79 | ;;; Copyright © 2025 Simon Streit <simon@netpanic.org> |
| 80 | ;;; Copyright © 2025 Luca Kredel <luca.kredel@web.de> | 80 | ;;; Copyright © 2025 Luca Kredel <luca.kredel@web.de> |
| 81 | ;;; Copyright © 2025 ROCKTAKEY <rocktakey@gmail.com> | ||
| 81 | ;;; | 82 | ;;; |
| 82 | ;;; This file is part of GNU Guix. | 83 | ;;; This file is part of GNU Guix. |
| 83 | ;;; | 84 | ;;; |
| @@ -6950,6 +6951,41 @@ with which other processes. It provides more usable versions of @command{ps}, | |||
| 6950 | network, which causes enabled computers to power on.") | 6951 | network, which causes enabled computers to power on.") |
| 6951 | (license license:gpl2+))) | 6952 | (license license:gpl2+))) |
| 6952 | 6953 | ||
| 6954 | (define-public witr | ||
| 6955 | (package | ||
| 6956 | (name "witr") | ||
| 6957 | (version "0.1.1") | ||
| 6958 | (source | ||
| 6959 | (origin | ||
| 6960 | (method git-fetch) | ||
| 6961 | (uri (git-reference | ||
| 6962 | (url "https://github.com/pranshuparmar/witr") | ||
| 6963 | (commit (string-append "v" version)))) | ||
| 6964 | (file-name (git-file-name name version)) | ||
| 6965 | (sha256 | ||
| 6966 | (base32 "016yiwn0b00ynllka6h2w6gk2yjzj5nx2xf26shb0cz4crdwww0d")))) | ||
| 6967 | (build-system go-build-system) | ||
| 6968 | (arguments | ||
| 6969 | (list | ||
| 6970 | #:install-source? #f | ||
| 6971 | #:import-path "github.com/pranshuparmar/witr/cmd/witr" | ||
| 6972 | #:unpack-path "github.com/pranshuparmar/witr" | ||
| 6973 | #:build-flags #~(list "-ldflags" | ||
| 6974 | (string-append "-X main.version=" #$version)))) | ||
| 6975 | (home-page "https://github.com/pranshuparmar/witr") | ||
| 6976 | (synopsis "Utility to show why the process is running") | ||
| 6977 | (description | ||
| 6978 | "The @dfn{witr} (why-is-this-running), is a utility to show: | ||
| 6979 | @enumerate | ||
| 6980 | @item What is running? | ||
| 6981 | @item How did it start? | ||
| 6982 | @item What is keeping it running? | ||
| 6983 | @item What context does it belong to? | ||
| 6984 | @end enumerate | ||
| 6985 | It shows which process uses the port, and its information like process tree, | ||
| 6986 | working directory, user, pid, command, and so on.") | ||
| 6987 | (license license:asl2.0))) | ||
| 6988 | |||
| 6953 | (define-public xfel | 6989 | (define-public xfel |
| 6954 | (package | 6990 | (package |
| 6955 | (name "xfel") | 6991 | (name "xfel") |
