guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/33: gnu: Add go-github-com-tkuchiki-go-timezone.


From: guix-commits
Subject: 28/33: gnu: Add go-github-com-tkuchiki-go-timezone.
Date: Sat, 6 Apr 2024 08:27:48 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 4117a463dc477561eed3ac6903c8fd71f5cebbe4
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Apr 6 11:22:21 2024 +0100

    gnu: Add go-github-com-tkuchiki-go-timezone.
    
    * gnu/packages/golang-xyz.scm (go-github-com-tkuchiki-go-timezone): New 
variable.
    
    Change-Id: Iab9a96c7a8224b5c0b7dbcab75dcc4dcf45e5699
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 23712d6fd8..b82e96045e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2723,6 +2723,38 @@ well as a program to generate applications and command 
files.")
 query information regarding the number of CPUs available to the system.")
     (license license:asl2.0)))
 
+(define-public go-github-com-tkuchiki-go-timezone
+  (package
+    (name "go-github-com-tkuchiki-go-timezone")
+    (version "0.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tkuchiki/go-timezone";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1rmvg4hh0br51vbsxacani2g0v5xxsayp8q4xli9jag25zi5rhd1"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/tkuchiki/go-timezone"))
+    (home-page "https://github.com/tkuchiki/go-timezone";)
+    (synopsis "Timezone utility for Golang")
+    (description
+     "This package provides provides an utility for timezone manipulation,
+implementing the following features:
+
+@itemize
+@item this library uses only the standard package
+@item supports getting offset from timezone abbreviation, which is not
+supported by the time package
+@item determine whether the specified time.Time is daylight saving time
+@item change the location of time.Time by specifying the timezone
+@end itemize")
+    (license license:expat)))
+
 (define-public go-github-com-vividcortex-ewma
   (package
     (name "go-github-com-vividcortex-ewma")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]