guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/33: gnu: Add go-github-com-djherbis-times.


From: guix-commits
Subject: 25/33: gnu: Add go-github-com-djherbis-times.
Date: Sat, 6 Apr 2024 08:27:48 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 34e21fac4fb25a6714e1cb378cdb5a698bd88923
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Apr 6 10:13:51 2024 +0100

    gnu: Add go-github-com-djherbis-times.
    
    * gnu/packages/golang-xyz.scm (go-github-com-djherbis-times): New
    variable.
    
    Change-Id: I5584f32a5ce384cc6ec1c742cf6606b26e6578fe
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7237a0eb00..23712d6fd8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1000,6 +1000,32 @@ Mark} detection.")
 atimes for files.")
     (license license:expat)))
 
+(define-public go-github-com-djherbis-times
+  (package
+    (name "go-github-com-djherbis-times")
+    (version "1.6.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 "0a70nqkc592ipbgb3ib4yg8i2yj2hlhalpzzksdlhilm5a3689ic"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/djherbis/times"))
+    (propagated-inputs
+     (list go-golang-org-x-sys))
+    (home-page "https://github.com/djherbis/times";)
+    (synopsis "File times - atime, mtime, ctime and btime for Golang")
+    (description
+     "Package @code{times} provides a platform-independent way to get atime,
+mtime,ctime and btime for files.")
+    (license license:expat)))
+
 (define-public go-github-com-dustin-gojson
   (package
     (name "go-github-com-dustin-gojson")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]