diff options
author | Chadwain Holness <chadwainholness@gmail.com> | 2021-10-08 15:18:24 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-10-14 15:45:35 +0200 |
commit | 62c0139b45d155ad66a436965556066fe00170fe (patch) | |
tree | a11e07ac07af2ac4077255c39e41b9653ff6974d /gnu | |
parent | c4a7aa82e25503133a1bd33148d17968c899a5f5 (diff) | |
download | guix-62c0139b45d155ad66a436965556066fe00170fe.tar.gz |
gnu: Add go-gopkg-in-djherbis-times-v1.
* gnu/packages/golang.scm (go-gopkg-in-djherbis-times-v1): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/golang.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e39c67b942..cc4f6eb386 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name> ;;; Copyright © 2021 jgart <jgart@dismail.de> ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com> +;;; Copyright © 2021 Chadwain Holness <chadwainholness@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -8816,3 +8817,25 @@ line. @code{csvdiff} supports JSON for post-processing @end itemize") (license license:expat))) + +(define-public go-gopkg-in-djherbis-times-v1 + (package + (name "go-gopkg-in-djherbis-times-v1") + (version "1.5.0") + (home-page "https://gopkg.in/djherbis/times.v1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xvl3rgjif5yf62p16yk05kxrsmzhz1kkqisvw4k02svzq10qbfy")))) + (build-system go-build-system) + (arguments + '(#:import-path "gopkg.in/djherbis/times.v1")) + (synopsis "Go library for getting file times") + (description + "Provides a platform-independent way to get atime, mtime, ctime and btime for files.") + (license license:expat))) |