[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/17: gnu: Add go-github-com-xhit-go-str2duration-v2.
From: |
guix-commits |
Subject: |
07/17: gnu: Add go-github-com-xhit-go-str2duration-v2. |
Date: |
Wed, 27 Mar 2024 19:09:28 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 81a417aa3e3f1d619d1bad55c5e30785f376cf9f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Mar 22 22:11:19 2024 +0000
gnu: Add go-github-com-xhit-go-str2duration-v2.
* gnu/packages/golang-xyz.scm (go-github-com-xhit-go-str2duration-v2): New
variable.
Change-Id: I30425e498db6dd8cb736eedffe006346973628ed
---
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 2f766fc116..e2b397b04c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2063,6 +2063,31 @@ weighted moving averages}.")
@code{MemoryInfo}.")
(license license:expat)))
+(define-public go-github-com-xhit-go-str2duration-v2
+ (package
+ (name "go-github-com-xhit-go-str2duration-v2")
+ (version "2.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xhit/go-str2duration")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1c9zi9mfy5ww413y1jpfh1rdis43lvd5v6gvajqzh4q1km9lyxjj"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/xhit/go-str2duration/v2"))
+ (home-page "https://github.com/xhit/go-str2duration")
+ (synopsis "Convert string to duration in golang")
+ (description
+ "This package provides a means to obtain @code{time.Duration} from a
+string. The string can be a string retorned for @code{time.Duration} or a
+similar string with weeks or days too.")
+ (license license:bsd-3)))
+
(define-public go-go-uber-org-automaxprocs
(package
(name "go-go-uber-org-automaxprocs")
- 08/17: gnu: Add go-github-com-alecthomas-kingpin-v2., (continued)
- 08/17: gnu: Add go-github-com-alecthomas-kingpin-v2., guix-commits, 2024/03/27
- 09/17: gnu: Add go-gopkg-in-alecthomas-kingpin-v2., guix-commits, 2024/03/27
- 17/17: gnu: go-github-com-nbrownus-go-metrics-prometheus: Adjust inputs., guix-commits, 2024/03/27
- 05/17: gnu: clipman: Fix source and home-page URL., guix-commits, 2024/03/27
- 13/17: gnu: go-github-com-anmitsu-go-shlex: Fix indentation., guix-commits, 2024/03/27
- 12/17: gnu: clipman: Refresh package style., guix-commits, 2024/03/27
- 10/17: gnu: go-github-com-alecthomas-kingpin: Adjust inputs., guix-commits, 2024/03/27
- 14/17: gnu: go-github-com-cyberdelia-go-metrics-graphite: Fix indentation., guix-commits, 2024/03/27
- 15/17: gnu: go-github-com-miekg-dns: Fix indentation., guix-commits, 2024/03/27
- 16/17: gnu: go-github-com-nbrownus-go-metrics-prometheus: Fix indentation., guix-commits, 2024/03/27
- 07/17: gnu: Add go-github-com-xhit-go-str2duration-v2.,
guix-commits <=
- 06/17: gnu: clipman: Update to 1.6.2., guix-commits, 2024/03/27
- 11/17: gnu: clipman: Simplify package., guix-commits, 2024/03/27