From 34e21fac4fb25a6714e1cb378cdb5a698bd88923 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 6 Apr 2024 10:13:51 +0100 Subject: 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") -- cgit v1.2.3