sharlatan pushed a commit to branch go-team
in repository guix.
commit d5715dbe3654aaa2c15cd0ac098b6288d005c3bb
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Feb 18 09:01:13 2025 +0000
gnu: go-github-com-benbjohnson-clock: Move to golang-check.
* gnu/packages/golang-xyz.scm (go-github-com-benbjohnson-clock): Move
from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: I8dbd3490ef60bfcc84c2d10956c2b69e7751d8af
---
gnu/packages/golang-check.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang-xyz.scm | 24 ------------------------
2 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 1954d0635a..ef664f60dd 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -149,6 +149,34 @@ value and call @code{t.Fatal()} if the assertion fails.")
github.com/sergi/go-diff, mainly for diffing strings in tests.")
(license license:expat)))
+;; XXX: Not maintained project: This repository has been archived by the owner
+;; on May 18, 2023. It is now read-only. Consider to remove when nothing
+;; depends on it.
+(define-public go-github-com-benbjohnson-clock
+ (package
+ (name "go-github-com-benbjohnson-clock")
+ (version "1.3.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/benbjohnson/clock")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1p7n09pywqra21l981fbkma9vzsyf31pbvw6xg5r4hp8h8scf955"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/benbjohnson/clock"))
+ (home-page "https://github.com/benbjohnson/clock")
+ (synopsis "Small library for mocking time in Go")
+ (description
+ "@code{clock} is a small library for mocking time in Go. It provides an
+interface around the standard library's @code{time} package so that the
+application can use the realtime clock while tests can use the mock clock.")
+ (license license:expat)))
+
(define-public go-github-com-bitfield-gotestdox
(package
(name "go-github-com-bitfield-gotestdox")
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 23e51e09a0..effd6b46b2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1836,30 +1836,6 @@ supports generating diffs in the
Unified Format}.")
(license license:expat)))
-(define-public go-github-com-benbjohnson-clock
- (package
- (name "go-github-com-benbjohnson-clock")
- (version "1.3.5")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/benbjohnson/clock")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1p7n09pywqra21l981fbkma9vzsyf31pbvw6xg5r4hp8h8scf955"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/benbjohnson/clock"))
- (home-page "https://github.com/benbjohnson/clock")
- (synopsis "Small library for mocking time in Go")
- (description
- "@code{clock} is a small library for mocking time in Go. It provides an
-interface around the standard library's @code{time} package so that the
application
-can use the realtime clock while tests can use the mock clock.")
- (license license:expat)))
-
(define-public go-github-com-beorn7-perks
(package
(name "go-github-com-beorn7-perks")