unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Chadwain Holness <chadwainholness@gmail.com>
To: 51097@debbugs.gnu.org
Cc: Chadwain Holness <chadwainholness@gmail.com>
Subject: [bug#51097] [PATCH 1/2] gnu: Add go-gopkg-in-djherbis-times-v1.
Date: Fri,  8 Oct 2021 15:18:24 -0400	[thread overview]
Message-ID: <20211008191825.31034-1-chadwainholness@gmail.com> (raw)
In-Reply-To: <20211008190156.30173-1-chadwainholness@gmail.com>

* gnu/packages/golang.scm (go-gopkg-in-djherbis-times-v1): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a96f743f68..bf8b27496a 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.
 ;;;
@@ -8781,3 +8782,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)))
-- 
2.33.0





  reply	other threads:[~2021-10-08 19:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 19:01 [bug#51097] [PATCH 0/2] gnu: lf: Update to 24 Chadwain Holness
2021-10-08 19:18 ` Chadwain Holness [this message]
2021-10-08 19:18   ` [bug#51097] [PATCH 2/2] " Chadwain Holness
2021-10-14 13:49   ` bug#51097: [PATCH 0/2] " Ludovic Courtès
2021-10-10 18:21 ` [bug#51097] [PATCH 0/1] Update lf to 25 Chadwain Holness
2021-10-10 18:21   ` [bug#51097] [PATCH 1/1] gnu: lf: Update " Chadwain Holness

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211008191825.31034-1-chadwainholness@gmail.com \
    --to=chadwainholness@gmail.com \
    --cc=51097@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).