[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48729] [PATCH v6 05/25] gnu: Add go-github-com-keybase-go-ps.
From: |
Raghav Gururajan |
Subject: |
[bug#48729] [PATCH v6 05/25] gnu: Add go-github-com-keybase-go-ps. |
Date: |
Tue, 22 Jun 2021 00:34:57 -0400 |
* gnu/packages/golang.scm (go-github-com-keybase-go-ps): New variable.
---
gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 13d213b213..a0f9f77e4c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,44 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
+(define-public go-github-com-keybase-go-ps
+ (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
+ (revision "45"))
+ (package
+ (name "go-github-com-keybase-go-ps")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/keybase/go-ps")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1la7m9pd1rrij727g34k9d2iapqwrkwdkqwpkbsbcq8ig0fg634h"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/keybase/go-ps"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (substitute* (find-files "." ".*test\\.go")
+ (("/bin/sleep")
+ (string-append
+ (assoc-ref (or native-inputs inputs) "coreutils")
+ "/bin/sleep"))))))))
+ (native-inputs
+ `(("coreutils" ,coreutils)
+ ("go-github-com-stretchr-testify"
+ ,go-github-com-stretchr-testify)))
+ (home-page "https://github.com/keybase/go-ps")
+ (synopsis "Process List Library for Go")
+ (description "Go-Ps is a library for Go that implements OS-specific APIs
+to list and manipulate processes in a platform-safe way.")
+ (license license:expat))))
+
(define-public go-github-com-apparentlymart-go-openvpn-mgmt
(let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
(revision "14"))
--
2.32.0
- [bug#48729] [PATCH v6 01/25] gnu: Add go-github-com-rakyll-statik., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 02/25] gnu: Add go-github-com-dchest-siphash., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 03/25] gnu: Add go-github-com-emersion-go-autostart., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 05/25] gnu: Add go-github-com-keybase-go-ps.,
Raghav Gururajan <=
- [bug#48729] [PATCH v6 04/25] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 06/25] gnu: Add go-github-com-sevlyar-go-daemon., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 07/25] gnu: Add go-torproject-org-pluggable-transports-goptlib., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 10/25] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 08/25] gnu: Add go-github-com-willscott-goturn., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 11/25] gnu: Add go-github-com-op-go-logging., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 13/25] gnu: Add go-github-com-deckarep-golang-set., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 16/25] gnu: Add go-github-com-mufti1-interconv., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 17/25] gnu: Add go-github-com-aead-chacha20., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 09/25] gnu: Add go-github-com-operatorfoundation-obfs4., Raghav Gururajan, 2021/06/22