diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-18 09:01:13 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-26 16:50:10 +0100 |
commit | a974cf2f85fc13a5e06b2de11fa56cffa665f799 (patch) | |
tree | 5cf79e47a45d76afe9aefe126391072f11a2f687 | |
parent | 87dad204361dc9745f7f16d1d3765116b52082fa (diff) |
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
-rw-r--r-- | gnu/packages/golang-check.scm | 28 | ||||
-rw-r--r-- | 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 c74a98fc9d..d60d3206d1 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 4ce679535c..915d7c90d0 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1839,30 +1839,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") |