summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2025-12-01 18:24:28 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-18 23:19:27 +0000
commitb0bbd770f986281a54482104209ad84ec7904409 (patch)
treeb5343818337447b1e575c816ec26c4bd5e9e8e25 /gnu
parentc749fd2d1035046c67a2ae88ee3fb79f44d518d9 (diff)
gnu: Add go-gopkg-in-djherbis-times-v1.
* gnu/packages/golang-xyz.scm (go-gopkg-in-djherbis-times-v1): New variable. Change-Id: I32bcbb278de19a07ffebac603ec27b98c70f767b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 6c803329e6..7343fa835f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -25977,6 +25977,34 @@ distributions of benchmark measurements
(list
#:import-path "gopkg.in/alecthomas/kingpin.v2"))))
+(define-public go-gopkg-in-djherbis-times-v1
+ (package
+ (name "go-gopkg-in-djherbis-times-v1")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/djherbis/times")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dk087l9c927f90zrsmyxxfx5i980r952qw47j9srq2q7dd0b4ni"))
+ (modules '((guix build utils)))
+ ;; Fix import path for itself in the example code (build by 'check).
+ (snippet '(substitute* "example/main.go"
+ (("github.com/djherbis/times")
+ "gopkg.in/djherbis/times.v1")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "gopkg.in/djherbis/times.v1"))
+ (home-page "https://github.com/djherbis/times")
+ (synopsis "File times for Golang")
+ (description
+ "This package allows access different file time metadata from Golang.")
+ (license license:expat)))
+
(define-public go-gopkg-in-fsnotify-v1
(package/inherit go-github-com-fsnotify-fsnotify
(name "go-gopkg-in-fsnotify-v1")