From 4117a463dc477561eed3ac6903c8fd71f5cebbe4 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 6 Apr 2024 11:22:21 +0100 Subject: 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") -- cgit v1.2.3