[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69969] [PATCH 07/12] gnu: Add go-github-com-xhit-go-str2duration-v2
From: |
Sharlatan Hellseher |
Subject: |
[bug#69969] [PATCH 07/12] gnu: Add go-github-com-xhit-go-str2duration-v2. |
Date: |
Sun, 24 Mar 2024 00:37:51 +0000 |
* 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 e012beabaf..e3c2d86062 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2035,6 +2035,31 @@ (define-public go-github-com-whyrusleeping-go-sysinfo
@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 allows to get a @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")
--
2.41.0
- [bug#69969] [PATCH 09/12] gnu: Add go-gopkg-in-alecthomas-kingpin-v2., (continued)
- [bug#69969] [PATCH 09/12] gnu: Add go-gopkg-in-alecthomas-kingpin-v2., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 10/12] gnu: go-github-com-alecthomas-kingpin: Adjust inputs., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 11/12] gnu: clipman: Simplify package., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 12/12] gnu: clipman: Refresh package style., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 04/12] gnu: go-github-com-alecthomas-units: Move to golang-xyz., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 02/12] gnu: go-github-com-alecthomas-kingpin: Move to golang-xyz., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 01/12] gnu: go-github-com-kballard-go-shellquote: Move to golang-xyz., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 03/12] gnu: go-github-com-alecthomas-template: Move to golang-xyz., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 06/12] gnu: clipman: Update to 1.6.2., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 05/12] gnu: clipman: Fix source and home-page URL., Sharlatan Hellseher, 2024/03/23
- [bug#69969] [PATCH 07/12] gnu: Add go-github-com-xhit-go-str2duration-v2.,
Sharlatan Hellseher <=
- bug#69969: [PATCH 00/12] gnu: clipman: Update to 1.6.2., Sharlatan Hellseher, 2024/03/27