[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
189/377: gnu: Add lsofgraph.
From: |
guix-commits |
Subject: |
189/377: gnu: Add lsofgraph. |
Date: |
Thu, 2 Sep 2021 17:55:27 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 63fec9fd6a76a70da737c3ac45959c9a1d0ae829
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Sat Aug 28 15:48:56 2021 +0300
gnu: Add lsofgraph.
* gnu/packages/admin.scm (lsofgraph): New variable.
---
gnu/packages/admin.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 1d5fe59..5a97cbf 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4612,3 +4612,49 @@ the XMODEM/YMODEM/ZMODEM file transfer protocols.")
setup, maintenance, supervision, or any long-running processes.")
(home-page "https://github.com/leahneukirchen/nq")
(license license:public-domain)))
+
+(define-public lsofgraph
+ (let ((commit "1d414bdc727c00a8c6cbfffc3c43128c60d6f0de")
+ (revision "1"))
+ (package
+ (name "lsofgraph")
+ (version (git-version "0.0.1" revision commit)) ;no upstream release
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zevv/lsofgraph")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "058x04yp6bc77hbl3qchqm7pa8f9vqfl9jryr88m8pzl7kvpif54"))))
+ (build-system trivial-build-system)
+ (inputs
+ `(("lua" ,lua)))
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ ;; copy source
+ (copy-recursively (assoc-ref %build-inputs "source") ".")
+ ;; patch-shebang phase
+ (setenv "PATH"
+ (string-append (assoc-ref %build-inputs "lua") "/bin"
+ ":" (getenv "PATH")))
+ (substitute* "lsofgraph"
+ (("#!/usr/bin/env lua")
+ (string-append "#!" (which "lua"))))
+ ;; install phase
+ (install-file "lsofgraph" (string-append %output "/bin"))
+ (let ((doc (string-append
+ %output "/share/doc/" ,name "-" ,version)))
+ (mkdir-p doc)
+ (install-file "LICENSE" doc)
+ (install-file "README.md" doc))
+ #t)))
+ (home-page "https://github.com/zevv/lsofgraph")
+ (synopsis "Convert @code{lsof} output to @code{graphviz}")
+ (description "Utility to convert @code{lsof} output to a graph showing
+FIFO and UNIX interprocess communication.")
+ (license license:bsd-2))))
- 171/377: gnu: Add python-strawc., (continued)
- 171/377: gnu: Add python-strawc., guix-commits, 2021/09/02
- 172/377: gnu: Add python-hmmlearn., guix-commits, 2021/09/02
- 176/377: gnu: java-opening-hours-parser: Update to 0.23.0., guix-commits, 2021/09/02
- 174/377: gnu: postgresql-10: Update to 10.18., guix-commits, 2021/09/02
- 177/377: gnu: josm: Update to 18118., guix-commits, 2021/09/02
- 180/377: gnu: opencl-clhpp: Update to 2.0.15., guix-commits, 2021/09/02
- 181/377: gnu: clinfo: Update to 3.0.21.02.21 and simplify package., guix-commits, 2021/09/02
- 186/377: gnu: python-pyopencl: Update to 2021.2.6., guix-commits, 2021/09/02
- 185/377: gnu: python-pytools: Update to 2021.2.7., guix-commits, 2021/09/02
- 187/377: build: Distribute tests/go.scm even when the host lacks guile-lib., guix-commits, 2021/09/02
- 189/377: gnu: Add lsofgraph.,
guix-commits <=
- 194/377: Migrate to the new 'targets' field of bootloader-configuration., guix-commits, 2021/09/02
- 192/377: gnu: Add emacs-company-org-block., guix-commits, 2021/09/02
- 191/377: zsh completion: Add missing commands and arguments., guix-commits, 2021/09/02
- 195/377: gnu: Add python-commentjson., guix-commits, 2021/09/02
- 198/377: gnu: Add python-ncclient., guix-commits, 2021/09/02
- 201/377: gnu: python-execnet: Update to 1.9.0 and enable tests., guix-commits, 2021/09/02
- 206/377: gnu: python-pytest-asyncio: Enable tests and patch for Python 3.8., guix-commits, 2021/09/02
- 203/377: gnu: python-mock: Update description., guix-commits, 2021/09/02
- 208/377: gnu: python-pytest-xdist: Fix by downgrading to 1.34.0, run test suite., guix-commits, 2021/09/02
- 229/377: gnu: scrot: Update to 1.6., guix-commits, 2021/09/02