mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Add go-gopkg-in-fsnotify-v1.
* gnu/packages/golang-xyz.scm (go-gopkg-in-fsnotify-v1): New variable. Change-Id: I3b50ac55213df1a5024f6a4d7bd50f849eeb3c4b
This commit is contained in:
@@ -24656,6 +24656,21 @@ distributions of benchmark measurements
|
||||
(list
|
||||
#:import-path "gopkg.in/alecthomas/kingpin.v2"))))
|
||||
|
||||
(define-public go-gopkg-in-fsnotify-v1
|
||||
(package/inherit go-github-com-fsnotify-fsnotify
|
||||
(name "go-gopkg-in-fsnotify-v1")
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "gopkg.in/fsnotify.v1"
|
||||
#:test-flags #~(list "-skip" "TestDiffMatch/3")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-import-path
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(substitute* (find-files "." "\\.go$")
|
||||
(("github.com/fsnotify/fsnotify") import-path))))))))))
|
||||
|
||||
(define-public go-gopkg-in-inconshreveable-log15-v2
|
||||
(package
|
||||
(name "go-gopkg-in-inconshreveable-log15-v2")
|
||||
|
||||
Reference in New Issue
Block a user