[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/32: gnu: Add go-github-com-benbjohnson-clock.
From: |
guix-commits |
Subject: |
15/32: gnu: Add go-github-com-benbjohnson-clock. |
Date: |
Mon, 19 Feb 2024 18:41:00 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 084ce22aa336cc92104d586ede30b583fb9e6fef
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Sat Feb 17 17:24:33 2024 +0300
gnu: Add go-github-com-benbjohnson-clock.
* gnu/packages/golang-xyz.scm (go-github-com-benbjohnson-clock): New
variable.
Change-Id: Ifcb3254e07388a6c7b4a7f9ee5dff4f3b4d25ee8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 836357bb02..b6e582fdc5 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -150,6 +150,31 @@ optimized for sparse nodes of
@url{http://en.wikipedia.org/wiki/Radix_tree,radix tree}.")
(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"
+ #:go ,go-1.21))
+ (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-bitly-go-hostpool
(package
(name "go-github-com-bitly-go-hostpool")
- branch master updated (4c6861b630 -> 193a01d73f), guix-commits, 2024/02/19
- 02/32: gnu: go-github-com-charmbracelet-harmonica: Remove examples., guix-commits, 2024/02/19
- 01/32: gnu: go-github-com-goccy-go-json: Revert source snippet, guix-commits, 2024/02/19
- 05/32: gnu: go-github-com-schollz-progressbar-v3: Remove examples., guix-commits, 2024/02/19
- 06/32: gnu: go-github-com-coreos-go-semver: Add missing input., guix-commits, 2024/02/19
- 03/32: gnu: go-github-com-mattn-go-colorable: Add missing input., guix-commits, 2024/02/19
- 04/32: gnu: go-github-com-mesilliac-pulse-simple: Remove examples., guix-commits, 2024/02/19
- 15/32: gnu: Add go-github-com-benbjohnson-clock.,
guix-commits <=
- 07/32: gnu: go-github-com-coreos-go-semver: Update to 0.3.1., guix-commits, 2024/02/19
- 09/32: gnu: go-golang-org-x-net-html: Add missing input., guix-commits, 2024/02/19
- 11/32: gnu: Add go-pixelmatch., guix-commits, 2024/02/19
- 14/32: gnu: Add go-github-com-golang-jwt-jwt-v5., guix-commits, 2024/02/19
- 17/32: gnu: go-github-com-alecthomas-chroma: Move to golang-xyz., guix-commits, 2024/02/19
- 19/32: gnu: go-github-com-alecthomas-chroma: Remove bundled files., guix-commits, 2024/02/19
- 10/32: gnu: Add go-github-com-orisano-pixelmatch., guix-commits, 2024/02/19
- 24/32: gnu: go-github-com-songmu-gitconfig: Fix build., guix-commits, 2024/02/19
- 18/32: gnu: go-github-com-alecthomas-chroma: Update to 0.10.0., guix-commits, 2024/02/19
- 20/32: gnu: Add go-github-com-alecthomas-chroma-v2., guix-commits, 2024/02/19