From: Efraim Flashner <efraim@flashner.co.il>
To: 40086@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#40086] [PATCH 07/11] gnu: Add go-github-com-pbnjay-memory.
Date: Mon, 16 Mar 2020 09:15:55 +0200 [thread overview]
Message-ID: <20200316071559.13930-8-efraim@flashner.co.il> (raw)
In-Reply-To: <20200316070412.12364-1-efraim@flashner.co.il>
* gnu/packages/golang.scm (go-github-com-pbnjay-memory): New variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 11dfb23e46..30e4b4147f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3551,3 +3551,29 @@ through the life of the application. Currently x86 / x64 (AMD64) is supported,
and no external C (cgo) code is used, which should make the library very eas
to use.")
(license license:expat)))
+
+(define-public go-github-com-pbnjay-memory
+ (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
+ (revision "1"))
+ (package
+ (name "go-github-com-pbnjay-memory")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pbnjay/memory")
+ (commit commit)))
+ (file-name (string-append "go-github-com-pbnjay-memory-"
+ version "-checkout"))
+ (sha256
+ (base32
+ "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/pbnjay/memory"))
+ (home-page "https://github.com/gedex/inflector")
+ (synopsis "Go library to report total system memory")
+ (description "@code{memory} provides a single method reporting total
+physical system memory accessible to the kernel. It does not account for memory
+used by other processes.")
+ (license license:bsd-3))))
--
2.25.1
next prev parent reply other threads:[~2020-03-16 7:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-16 7:04 [bug#40086] [PATCH 00/11] Expand edirect programs Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 01/11] gnu: Add go-golang-org-x-image Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 02/11] gnu: Add go-golang-org-rainycape-unidecode Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 03/11] gnu: Add go-github-com-golang-freetype Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 04/11] gnu: Add go-github-com-fogleman-gg Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 05/11] gnu: Add go-github-com-gedex-inflector Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 06/11] gnu: Add go-github-com-klauspost-cpuid Efraim Flashner
2020-03-16 7:15 ` Efraim Flashner
2020-03-16 7:15 ` Efraim Flashner [this message]
2020-03-16 7:15 ` [bug#40086] [PATCH 08/11] gnu: Add go-github-com-surge-glog Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 09/11] gnu: Add go-github-com-surgebase-porter2 Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 10/11] gnu: Add edirect-go-programs Efraim Flashner
2020-03-16 7:15 ` [bug#40086] [PATCH 11/11] gnu: edirect: Install more programs Efraim Flashner
2020-03-22 7:59 ` bug#40086: [PATCH 00/11] Expand edirect programs Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200316071559.13930-8-efraim@flashner.co.il \
--to=efraim@flashner.co.il \
--cc=40086@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).