gnu: watcher: Update to 0.13.8.

* gnu/packages/file-systems.scm (watcher): Update to 0.13.8.
[#:tests?]: Delete.
[#:phases] {check}: Delete.

Change-Id: I4cc961f941ee662e8e725ffcd1ce85715b7b725b
This commit is contained in:
Maxim Cournoyer 2025-09-03 21:53:20 +09:00
parent b298b2c7ad
commit 077f3a5e4b
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2473,26 +2473,21 @@ filtering and ordering functionality.
(license license:gpl3+))) (license license:gpl3+)))
(define-public watcher (define-public watcher
(let ((commit "0aff9ee86f0b62f17d7b0105cae6304ef1bcfbb2")
(revision "0"))
(package (package
(name "watcher") (name "watcher")
(version (git-version "0.13.6" revision commit)) (version "0.13.8")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/e-dant/watcher") (url "https://github.com/e-dant/watcher")
(commit commit))) (commit (string-append "release/" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"10bwdqnhgpsk2w60331npspkqjvdgb0jh2by89g8d3hwfjibk3p4")))) "118zkz6zfj57rny1ysy80ib3sqy3lfjpf611j5b4rw29dzwsa1xi"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
;; The test suite is currently flaky
;; (see: https://github.com/e-dant/watcher/issues/85).
#:tests? #f
#:configure-flags #:configure-flags
#~(list "-DBUILD_TESTING=ON" #~(list "-DBUILD_TESTING=ON"
;; This is needed to find 'snitch' from the system. ;; This is needed to find 'snitch' from the system.
@ -2513,15 +2508,7 @@ filtering and ordering functionality.
#$output)) #$output))
(substitute* "watcher-c/watcher-c.pc.in" (substitute* "watcher-c/watcher-c.pc.in"
(("@PC_LIBWATCHER_C_PREFIX@") (("@PC_LIBWATCHER_C_PREFIX@")
#$output)))) #$output)))))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
(substitute* "../source/tool/test/.ctx"
(("../../out")
"../../../build"))
(invoke "../source/tool/test/all")))))))
(native-inputs (list jq snitch)) (native-inputs (list jq snitch))
(home-page "https://github.com/e-dant/watcher") (home-page "https://github.com/e-dant/watcher")
(synopsis "File system watcher program and library") (synopsis "File system watcher program and library")
@ -2538,4 +2525,4 @@ Command-line interface (CLI)
@item @command{tw} @item @command{tw}
Minimal, more human-readable CLI variant Minimal, more human-readable CLI variant
@end table") @end table")
(license license:expat)))) (license license:expat)))