From: Adam Kandur <kefironpremise@gmail.com>
To: 58099@debbugs.gnu.org
Cc: Adam Kandur <kefironpremise@gmail.com>
Subject: [bug#58099] [PATCH] gnu: Add go-github-com-savsgio-gotils.
Date: Mon, 26 Sep 2022 21:43:45 +0300 [thread overview]
Message-ID: <20220926184345.802-1-kefironpremise@gmail.com> (raw)
* gnu/packages/golang.scm (go-github-com-savsgio-gotils): New variable.
---
gnu/packages/golang.scm | 77 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 29a11a4..af6a66a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1215,6 +1215,83 @@ (define-public go-github-com-schachmat-ingo
configuration file.")
(license license:isc)))
+(define-public go-github-com-savsgio-gotils
+ (let ((commit "52f3993e8d6d2629f18e7b7383b7f54a3d3f1d1f")
+ (revision "0"))
+ (package
+ (name "go-github-com-savsgio-gotils")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/savsgio/gotils")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qr7i62h53frcig26vj027r2hn9zxsjzd7113wvbxy7qpprjjbjb"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-github-com-google-uuid
+ go-github-com-valyala-bytebufferpool))
+ (arguments
+ '(#:import-path "github.com/savsgio/gotils"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda arguments
+ (for-each
+ (lambda (directory)
+ (apply (assoc-ref %standard-phases 'build)
+ `(,@arguments #:import-path ,directory)))
+ (list
+ "github.com/savsgio/gotils/bytes"
+ "github.com/savsgio/gotils/encoding/base64"
+ "github.com/savsgio/gotils/math"
+ "github.com/savsgio/gotils/nocopy"
+ "github.com/savsgio/gotils/strconv"
+ "github.com/savsgio/gotils/strings"
+ "github.com/savsgio/gotils/sync"
+ "github.com/savsgio/gotils/time"
+ "github.com/savsgio/gotils/uuid"))))
+ (replace 'check
+ (lambda arguments
+ (for-each
+ (lambda (directory)
+ (apply (assoc-ref %standard-phases 'check)
+ `(,@arguments #:import-path ,directory)))
+ (list
+ "github.com/savsgio/gotils/bytes"
+ "github.com/savsgio/gotils/encoding/base64"
+ "github.com/savsgio/gotils/math"
+ "github.com/savsgio/gotils/nocopy"
+ "github.com/savsgio/gotils/strconv"
+ "github.com/savsgio/gotils/strings"
+ "github.com/savsgio/gotils/sync"
+ "github.com/savsgio/gotils/time"
+ "github.com/savsgio/gotils/uuid"))))
+ (replace 'install
+ (lambda arguments
+ (for-each
+ (lambda (directory)
+ (apply (assoc-ref %standard-phases 'install)
+ `(,@arguments #:import-path ,directory)))
+ (list
+ "github.com/savsgio/gotils/bytes"
+ "github.com/savsgio/gotils/encoding/base64"
+ "github.com/savsgio/gotils/math"
+ "github.com/savsgio/gotils/nocopy"
+ "github.com/savsgio/gotils/strconv"
+ "github.com/savsgio/gotils/strings"
+ "github.com/savsgio/gotils/sync"
+ "github.com/savsgio/gotils/time"
+ "github.com/savsgio/gotils/uuid")))))))
+ (home-page "https://github.com/savsgio/gotils")
+ (synopsis "Golang utlities")
+ (description
+ "Golang utlities to make your life easier with zero allocations.")
+ (license license:asl2.0))))
+
(define-public go-github-com-riobard-go-bloom
(let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
(revision "0"))
--
2.36.1
next reply other threads:[~2022-09-26 19:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 18:43 Adam Kandur [this message]
2022-10-13 11:40 ` bug#58099: [PATCH] gnu: Add go-github-com-savsgio-gotils Christopher Baines
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=20220926184345.802-1-kefironpremise@gmail.com \
--to=kefironpremise@gmail.com \
--cc=58099@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).