diff options
author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-02 01:29:29 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-02 01:29:29 +0100 |
commit | 20599e56a6f66cad60bec81f8e626cc553930733 (patch) | |
tree | 91c4394e66635be35e90ea3c9f8a4c737a84202e /gnu/packages/golang-xyz.scm | |
parent | 4551b19eb6169da4e41413deee99aec6b142b9ad (diff) |
gnu: Add go-github-com-sosodev-duration.
* gnu/packages/golang-xyz.scm (go-github-com-sosodev-duration): New variable.
Change-Id: I26d130fb8372ad0f635fd7eacbce314dc65c38be
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index ad85f0e1aa..818a44518f 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -17736,6 +17736,30 @@ structure.") "This package provides a way to check whether two Go source directories contain equivalent code.") (license license:asl2.0))) +(define-public go-github-com-sosodev-duration + (package + (name "go-github-com-sosodev-duration") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sosodev/duration") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gbdx0gvlc2bh1q3204l8cfcfqk9qj859xxk3gnkr3f5kv914d71")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/sosodev/duration")) + (home-page "https://github.com/sosodev/duration") + (synopsis "Parsing durations") + (description + "This package provides a Go module for parsing +@@url{https://en.wikipedia.org/wiki/ISO_8601#Durations,ISO 8601 durations} and +converting them to the often much more useful @@code{time.Duration}.") + (license license:expat))) ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar |