summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-09 23:00:25 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:47:52 +0000
commitc79fb232a9071e8495a7524b69e8fc530fdf1558 (patch)
tree6d77c7f4dd09cee7e98673825e2954e22d35abb1
parentd4ba1e30e26bfb671dfb7081c7cd5bdb2d31c3d5 (diff)
gnu: go-github-com-gomodule-redigo: Move to golang-xyz.
* gnu/packages/databases.scm (go-github-com-gomodule-redigo): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I747da14647b1b32756b9f6a4dd0f840e908fcede
-rw-r--r--gnu/packages/databases.scm60
-rw-r--r--gnu/packages/golang-xyz.scm60
2 files changed, 60 insertions, 60 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 82e51c2c0b..5ac1489d13 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3000,66 +3000,6 @@ one-to-one, while still providing an idiomatic interface.")
"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.9.2")
- (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 "03z02zmkl8cj73c6xrvlpj144d9ysikc25ay64dhpbzwkn16h5yv"))))
- (build-system go-build-system)
- (arguments
- (list
- #:skip-build? #t
- #:import-path "github.com/gomodule/redigo"
- #:test-flags
- #~(list "-skip"
- (string-join
- ;; Run just unit tests which do not require Redis reducing
- ;; closure size.
- (list "TestDoCommands"
- "TestPipelineCommands"
- "TestBlankCommand"
- "TestRecvBeforeSend"
- "TestError"
- "TestDialContext_CanceledContext"
- "TestDialClientName"
- "TestExecError"
- "Test.*Pool.*"
- "TestPushed"
- "TestPubSubReceiveContext"
- "TestSlowLog"
- "TestLatency"
- "TestLatencyHistories"
- "TestScript"
- "Example.*"
- "TestConnMux"
- "TestConnMuxClose")
- "|"))
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'remove-examples
- (lambda* (#:key import-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" import-path)
- (for-each delete-file
- (list "redis/zpop_example_test.go"
- "redis/scan_test.go"
- "redis/pubsub_example_test.go"
- "redis/reply_test.go"))))))))
- (native-inputs
- (list go-github-com-stretchr-testify))
- (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")
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c2ca350a12..32e629dc55 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5997,6 +5997,66 @@ All the functionality of the built-in package still exists and is unchanged.
This package contains a series of small enhancements and additions.")
(license license:bsd-3)))
+(define-public go-github-com-gomodule-redigo
+ (package
+ (name "go-github-com-gomodule-redigo")
+ (version "1.9.2")
+ (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 "03z02zmkl8cj73c6xrvlpj144d9ysikc25ay64dhpbzwkn16h5yv"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "github.com/gomodule/redigo"
+ #:test-flags
+ #~(list "-skip"
+ (string-join
+ ;; Run just unit tests which do not require Redis reducing
+ ;; closure size.
+ (list "TestDoCommands"
+ "TestPipelineCommands"
+ "TestBlankCommand"
+ "TestRecvBeforeSend"
+ "TestError"
+ "TestDialContext_CanceledContext"
+ "TestDialClientName"
+ "TestExecError"
+ "Test.*Pool.*"
+ "TestPushed"
+ "TestPubSubReceiveContext"
+ "TestSlowLog"
+ "TestLatency"
+ "TestLatencyHistories"
+ "TestScript"
+ "Example.*"
+ "TestConnMux"
+ "TestConnMuxClose")
+ "|"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (for-each delete-file
+ (list "redis/zpop_example_test.go"
+ "redis/scan_test.go"
+ "redis/pubsub_example_test.go"
+ "redis/reply_test.go"))))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (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 go-github-com-google-gnostic-models
(package
(name "go-github-com-google-gnostic-models")