summaryrefslogtreecommitdiff
path: root/gnu/packages/file-systems.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/file-systems.scm')
-rw-r--r--gnu/packages/file-systems.scm96
1 files changed, 60 insertions, 36 deletions
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 35d28c4ce2..236cdbf960 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -81,6 +81,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-crypto)
@@ -474,6 +475,7 @@ is corrupted you'll lose the affected file(s) but not the whole back-up.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/google/fscrypt"
#:install-source? #f
#:test-flags
@@ -604,7 +606,7 @@ significantly increases the risk of irreversible data loss!")
(define-public gocryptfs
(package
(name "gocryptfs")
- (version "2.5.1")
+ (version "2.5.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -613,10 +615,11 @@ significantly increases the risk of irreversible data loss!")
(file-name (git-file-name name version))
(sha256
(base32
- "0ai30h56qvp31a3rl72biwx8w9blmi7va7d1bflmxbp41zhl6dn9"))))
+ "1glzq6syid1ws3wc9fk16z3vmphvgaf8dwr8hrg4s02bqqqhlcll"))))
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/rfjakob/gocryptfs"
#:build-flags
@@ -2206,8 +2209,8 @@ memory-efficient.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/oniony/TMSU"
- #:unpack-path "github.com/oniony/TMSU"
#:install-source? #f
#:phases
#~(modify-phases %standard-phases
@@ -2493,38 +2496,59 @@ filtering and ordering functionality.
(license license:gpl3+)))
(define-public watcher
- (package
- (name "watcher")
- (version "0.13.6")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/e-dant/watcher")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ikcdskb3z3wggxb12vi0y3rng2hcswl0fpk6sjqqlz34nvwijcr"))))
- (build-system cmake-build-system)
- (arguments
- (list #:configure-flags
- #~(list "-DBUILD_TESTING=ON"
- ;; This is needed to find 'snitch' from the system.
- "-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS")
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
- (substitute* "../source/tool/test/.ctx"
- (("../../out")
- "../../../build")
- (("which") "command -v"))
- (invoke "../source/tool/test/all"))))))
- (native-inputs (list jq snitch))
- (home-page "https://github.com/e-dant/watcher")
- (synopsis "File system watcher program and library")
- (description "Watcher may be used as a library or a program that can be
+ (let ((commit "0aff9ee86f0b62f17d7b0105cae6304ef1bcfbb2")
+ (revision "0"))
+ (package
+ (name "watcher")
+ (version (git-version "0.13.6" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/e-dant/watcher")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10bwdqnhgpsk2w60331npspkqjvdgb0jh2by89g8d3hwfjibk3p4"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ ;; The test suite is currently flaky
+ ;; (see: https://github.com/e-dant/watcher/issues/85).
+ #:tests? #f
+ #:configure-flags
+ #~(list "-DBUILD_TESTING=ON"
+ ;; This is needed to find 'snitch' from the system.
+ "-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-.pc-files-prefix
+ ;; There are some issues with the new .pc files (see:
+ ;; <https://github.com/e-dant/watcher/issues/82>).
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("\"\\$\\{CMAKE_INSTALL_LIBDIR}\"")
+ "\"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}\"")
+ (("\\$\\{CMAKE_INSTALL_INCLUDEDIR}/wtr")
+ "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/wtr"))
+ (substitute* "watcher.pc.in"
+ (("@PC_WATCHER_PREFIX@")
+ #$output))
+ (substitute* "watcher-c/watcher-c.pc.in"
+ (("@PC_LIBWATCHER_C_PREFIX@")
+ #$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))
+ (home-page "https://github.com/e-dant/watcher")
+ (synopsis "File system watcher program and library")
+ (description "Watcher may be used as a library or a program that can be
used to efficiently watch a file system for changes. This package provides
the following components:
@table @asis
@@ -2537,4 +2561,4 @@ Command-line interface (CLI)
@item @command{tw}
Minimal, more human-readable CLI variant
@end table")
- (license license:expat)))
+ (license license:expat))))