all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 53346@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#53346] [PATCH 1/6] gnu: Add go-github-com-bradfitz-gomemcache.
Date: Tue, 18 Jan 2022 16:49:16 +0200	[thread overview]
Message-ID: <ac236c224a42ee81e997d2efffa5b16e47773ba1.1642517035.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.1642517035.git.efraim@flashner.co.il>

* gnu/packages/databases.scm (go-github-com-bradfitz-gomemcache): New variable.
---
 gnu/packages/databases.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ff81b24518..20a9b304e4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
 ;;; Copyright © 2016, 2017, 2018 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 David Craven <david@craven.ch>
@@ -628,6 +628,36 @@ (define-public python-pylibmc
 replacement for the code@{python-memcached} library.")
     (license license:bsd-3)))
 
+(define-public go-github-com-bradfitz-gomemcache
+  (package
+    (name "go-github-com-bradfitz-gomemcache")
+    (version "0.0.0-20190913173617-a41fca850d0b")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/bradfitz/gomemcache")
+               (commit (go-version->git-ref version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "18qpds6xr73jy80pj7l3pc1l1ndcy3va2dl8fzk17bgwg49sxwfz"))
+        (modules '((guix build utils)))
+        (snippet
+         '(begin
+            ;; Fixes the 'untyped-int -> string of one rune' issue.
+            ;; https://github.com/golang/go/issues/32479
+            (substitute* "memcache/memcache_test.go"
+              (("string\\(0x7f") "string(rune(0x7f)"))))))
+    (build-system go-build-system)
+    (arguments
+     '(#:unpack-path "github.com/bradfitz/gomemcache"
+       #:import-path "github.com/bradfitz/gomemcache/memcache"))
+    (home-page "https://github.com/bradfitz/gomemcache")
+    (synopsis "Memcache client library in Go")
+    (description
+     "This is a memcache client library for the Go programming language.")
+    (license license:asl2.0)))
+
 (define-public litecli
  (package
   (name "litecli")
-- 
2.34.0





  reply	other threads:[~2022-01-18 15:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
2022-01-18 14:49 ` Efraim Flashner [this message]
2022-01-18 14:49 ` [bug#53346] [PATCH 2/6] gnu: Add go-github-com-couchbase-gomemcached Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 3/6] gnu: Add go-github-com-cupcake-rdb Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 4/6] gnu: Add go-github-com-gomodule-redigo Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 5/6] gnu: Add go-gopkg-in-mgo-v2 Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 6/6] gnu: Add go-go-etcd-io-bbolt Efraim Flashner
     [not found] ` <handler.53346.B.164251719810935.ack@debbugs.gnu.org>
2022-01-26 14:31   ` bug#53346: Acknowledgement ([PATCH 0/6] Some go patches) 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac236c224a42ee81e997d2efffa5b16e47773ba1.1642517035.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=53346@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.