guix_mirror_bot pushed a commit to branch master
in repository guix.

commit b0bbd770f986281a54482104209ad84ec7904409
Author: Sören Tempel <[email protected]>
AuthorDate: Mon Dec 1 18:24:28 2025 +0100

    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 <[email protected]>
---
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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")

Reply via email to