* [bug#53346] [PATCH 0/6] Some go patches
@ 2022-01-18 14:45 Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 1/6] gnu: Add go-github-com-bradfitz-gomemcache Efraim Flashner
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-18 14:45 UTC (permalink / raw)
To: 53346; +Cc: Efraim Flashner
I have a series of about 300 go packages to upstream on my quest to
package gitea. Here are the first 6.
Efraim Flashner (6):
gnu: Add go-github-com-bradfitz-gomemcache.
gnu: Add go-github-com-couchbase-gomemcached.
gnu: Add go-github-com-cupcake-rdb.
gnu: Add go-github-com-gomodule-redigo.
gnu: Add go-gopkg-in-mgo-v2.
gnu: Add go-go-etcd-io-bbolt.
gnu/packages/databases.scm | 156 ++++++++++++++++++++++++++++++++++++-
1 file changed, 155 insertions(+), 1 deletion(-)
base-commit: 9350538558a35eedb112b61a528ccee857738fc9
--
2.34.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#53346] [PATCH 1/6] gnu: Add go-github-com-bradfitz-gomemcache.
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
@ 2022-01-18 14:49 ` Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 2/6] gnu: Add go-github-com-couchbase-gomemcached Efraim Flashner
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-18 14:49 UTC (permalink / raw)
To: 53346; +Cc: Efraim Flashner
* 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#53346] [PATCH 2/6] gnu: Add go-github-com-couchbase-gomemcached.
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 1/6] gnu: Add go-github-com-bradfitz-gomemcache Efraim Flashner
@ 2022-01-18 14:49 ` Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 3/6] gnu: Add go-github-com-cupcake-rdb Efraim Flashner
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-18 14:49 UTC (permalink / raw)
To: 53346; +Cc: Efraim Flashner
* gnu/packages/databases.scm (go-github-com-couchbase-gomemcached): New variable.
---
gnu/packages/databases.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 20a9b304e4..5707281e35 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -658,6 +658,29 @@ (define-public go-github-com-bradfitz-gomemcache
"This is a memcache client library for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-couchbase-gomemcached
+ (package
+ (name "go-github-com-couchbase-gomemcached")
+ (version "0.1.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/couchbase/gomemcached")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10w74gc05x5naspls39sv2r92krrg31mk266w3lyqqwc0s3fxysl"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/couchbase/gomemcached"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/couchbase/gomemcached")
+ (synopsis "Memcached binary protocol toolkit for go")
+ (description
+ "This package provides memcache client and server functionality.")
+ (license license:expat)))
+
(define-public litecli
(package
(name "litecli")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#53346] [PATCH 3/6] gnu: Add go-github-com-cupcake-rdb.
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 1/6] gnu: Add go-github-com-bradfitz-gomemcache Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 2/6] gnu: Add go-github-com-couchbase-gomemcached Efraim Flashner
@ 2022-01-18 14:49 ` Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 4/6] gnu: Add go-github-com-gomodule-redigo Efraim Flashner
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-18 14:49 UTC (permalink / raw)
To: 53346; +Cc: Efraim Flashner
* gnu/packages/databases.scm (go-github-com-cupcake-rdb): New variable.
---
gnu/packages/databases.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 5707281e35..81356eb993 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2361,6 +2361,29 @@ (define-public ruby-redis
(home-page "https://github.com/redis/redis-rb")
(license license:expat)))
+(define-public go-github-com-cupcake-rdb
+ (package
+ (name "go-github-com-cupcake-rdb")
+ (version "0.0.0-20161107195141-43ba34106c76")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tent/rdb")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1l4bsn5yj8r875crz1rsk6dlvhv0bd8mgazsch5vl4c19v0fs2ib"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/cupcake/rdb"))
+ (native-inputs
+ (list go-gopkg-in-check-v1))
+ (home-page "https://github.com/tent/rdb")
+ (synopsis "Redis RDB parser for Go")
+ (description
+ "Package rdb implements parsing and encoding of the Redis RDB file format.")
+ (license license:expat)))
+
(define-public kyotocabinet
(package
(name "kyotocabinet")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#53346] [PATCH 4/6] gnu: Add go-github-com-gomodule-redigo.
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
` (2 preceding siblings ...)
2022-01-18 14:49 ` [bug#53346] [PATCH 3/6] gnu: Add go-github-com-cupcake-rdb Efraim Flashner
@ 2022-01-18 14:49 ` Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 5/6] gnu: Add go-gopkg-in-mgo-v2 Efraim Flashner
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-18 14:49 UTC (permalink / raw)
To: 53346; +Cc: Efraim Flashner
* gnu/packages/databases.scm (go-github-com-gomodule-redigo): New variable.
---
gnu/packages/databases.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 81356eb993..eceb799bc8 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2384,6 +2384,32 @@ (define-public go-github-com-cupcake-rdb
"Package rdb implements parsing and encoding of the Redis RDB file format.")
(license license:expat)))
+(define-public go-github-com-gomodule-redigo
+ (package
+ (name "go-github-com-gomodule-redigo")
+ (version "1.8.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gomodule/redigo")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wplaaxg7f6c6c08gdp33l48hygn8gq1rhlnjzr1c9qcggsm07k1"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:unpack-path "github.com/gomodule/redigo"
+ #:import-path "github.com/gomodule/redigo/redis"))
+ (native-inputs
+ (list go-github-com-stretchr-testify
+ redis))
+ (home-page "https://github.com/gomodule/redigo")
+ (synopsis "Go client for Redis")
+ (description
+ "Redigo is a Go client for the Redis database.")
+ (license license:asl2.0)))
+
(define-public kyotocabinet
(package
(name "kyotocabinet")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#53346] [PATCH 5/6] gnu: Add go-gopkg-in-mgo-v2.
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
` (3 preceding siblings ...)
2022-01-18 14:49 ` [bug#53346] [PATCH 4/6] gnu: Add go-github-com-gomodule-redigo Efraim Flashner
@ 2022-01-18 14:49 ` 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>
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-18 14:49 UTC (permalink / raw)
To: 53346; +Cc: Efraim Flashner
* gnu/packages/databases.scm (go-gopkg-in-mgo-v2): New variable.
---
gnu/packages/databases.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index eceb799bc8..3f81dfa7bd 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3006,6 +3006,30 @@ (define-public mdbtools
(license (list license:lgpl2.0
license:gpl2+))))
+(define-public go-gopkg-in-mgo-v2
+ (package
+ (name "go-gopkg-in-mgo-v2")
+ (version "2.0.0-20190816093944-a6b53ec6cb22")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gopkg.in/mgo.v2")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lgvwxsbmdrf4938qkxl56wbwgbphk2qqnmpf73qdmlv4qsg14na"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:tests? #f ; Tests try to use a running mongodb server.
+ #:import-path "gopkg.in/mgo.v2"))
+ (native-inputs
+ (list go-gopkg-in-check-v1))
+ (home-page "https://gopkg.in/mgo.v2")
+ (synopsis "MongoDB driver for Go")
+ (description "This package provides a MongoDB driver for Go.")
+ (license license:bsd-2)))
+
(define-public python-lmdb
(package
(name "python-lmdb")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#53346] [PATCH 6/6] gnu: Add go-go-etcd-io-bbolt.
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
` (4 preceding siblings ...)
2022-01-18 14:49 ` [bug#53346] [PATCH 5/6] gnu: Add go-gopkg-in-mgo-v2 Efraim Flashner
@ 2022-01-18 14:49 ` Efraim Flashner
[not found] ` <handler.53346.B.164251719810935.ack@debbugs.gnu.org>
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-18 14:49 UTC (permalink / raw)
To: 53346; +Cc: Efraim Flashner
* gnu/packages/databases.scm (go-go-etcd-io-bbolt): New variable.
---
gnu/packages/databases.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 3f81dfa7bd..a7549f7de1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2699,6 +2699,34 @@ (define-public libpqxx
(home-page "http://pqxx.org/")
(license license:bsd-3)))
+(define-public go-go-etcd-io-bbolt
+ (package
+ (name "go-go-etcd-io-bbolt")
+ (version "1.3.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/etcd-io/bbolt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "go.etcd.io/bbolt"
+ ;; Extending the test timeout to 30 minutes still times out on aarch64.
+ #:tests? ,(not target-arm?)))
+ (propagated-inputs
+ (list go-golang-org-x-sys))
+ (home-page "https://go.etcd.io/bbolt")
+ (synopsis "Embedded key/value database for Go")
+ (description "Bolt is a pure Go key/value store inspired by Howard Chu's
+LMDB project. The goal of the project is to provide a simple, fast, and
+reliable database for projects that don't require a full database server such as
+Postgres or MySQL.")
+ (license license:expat)))
+
(define-public python-peewee
(package
(name "python-peewee")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* bug#53346: Acknowledgement ([PATCH 0/6] Some go patches)
[not found] ` <handler.53346.B.164251719810935.ack@debbugs.gnu.org>
@ 2022-01-26 14:31 ` Efraim Flashner
0 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-01-26 14:31 UTC (permalink / raw)
To: 53346-done
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
Patches pushed.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-01-26 14:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 1/6] gnu: Add go-github-com-bradfitz-gomemcache Efraim Flashner
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
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.