~ruther/guix-local

b0bbd770f986281a54482104209ad84ec7904409 — Sören Tempel 2 months ago c749fd2
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>
1 files changed, 28 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +28 -0
@@ 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")