From 821ca97904419e47b11e483e91c28cc9f34fbeae Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 25 Nov 2025 09:45:37 +0000 Subject: [PATCH] gnu: Add go-gopkg-in-fsnotify-v1. * gnu/packages/golang-xyz.scm (go-gopkg-in-fsnotify-v1): New variable. Change-Id: I3b50ac55213df1a5024f6a4d7bd50f849eeb3c4b --- gnu/packages/golang-xyz.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 686e6763c3..438d86b135 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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")