diff options
author | Greg Hogan <code@greghogan.com> | 2022-05-03 17:54:16 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-30 16:34:40 +0200 |
commit | 092ee3515520c759174d235910aefc3a54b00b97 (patch) | |
tree | 75050b24b39b79b1d79e31b3399c5e900a37aadb /gnu/packages/sync.scm | |
parent | 7d8f6a5db5069ad614ca58ec3a995335fdf4fac8 (diff) | |
download | guix-092ee3515520c759174d235910aefc3a54b00b97.tar.gz |
gnu: casync: Update to 99559cd1.
* gnu/packages/sync.scm (casync): Update to 99559cd1. [source]: Remove patch. [arguments]: Fix installation. [native-inputs]: Add python. [inputs]: Add eudev. * gnu/packages/patches/casync-renameat2-declaration.patch: Delete file. * gnu/local.mk: Remove it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/sync.scm')
-rw-r--r-- | gnu/packages/sync.scm | 67 |
1 files changed, 37 insertions, 30 deletions
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 801aef3f44..3dfaf40796 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -451,35 +451,42 @@ written in @command{scsh}. It makes use of @command{unison} and (license license:expat)))) (define-public casync - (package - (name "casync") - (version "2") - (home-page "https://github.com/systemd/casync/") - (source (origin - (method git-fetch) - (uri (git-reference - (url home-page) - (commit (string-append "v" version)))) - (sha256 - (base32 - "0znkp3fcksrykcsv06y2mjvf2lbwmin25snmvfa8i5qfm3f4rm88")) - (file-name (string-append name "-" version "-checkout")) - (patches (search-patches "casync-renameat2-declaration.patch")))) - (build-system meson-build-system) - (native-inputs - (list pkg-config python-sphinx rsync)) ;for tests - (inputs - (list xz ;for liblzma - `(,zstd "lib") - curl - acl - libselinux - fuse - openssl - zlib)) - (synopsis "File synchronization and backup system") - (description - "casync is a @dfn{content-addressable data synchronizer} that can be used + (let ((commit "99559cd1d8cea69b30022261b5ed0b8021415654") + (revision "0")) + (package + (name "casync") + (version (git-version "2" revision commit)) + (home-page "https://github.com/systemd/casync/") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (sha256 + (base32 + "139g82rkwv1kzss6crfmw3p01xnyjzz66b1ckprpbfncxb24047w")) + (file-name (string-append name "-" version "-checkout")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags + (let ((out (assoc-ref %outputs "out"))) + (list (string-append "-Dudevrulesdir=" + out "/lib/udev/rules.d"))))) + (native-inputs + (list pkg-config python python-sphinx rsync)) ;for tests + (inputs + (list xz ;for liblzma + `(,zstd "lib") + curl + acl + libselinux + eudev + fuse + openssl + zlib)) + (synopsis "File synchronization and backup system") + (description + "casync is a @dfn{content-addressable data synchronizer} that can be used as the basis of a backup system. It is: @itemize @@ -490,7 +497,7 @@ large file systems or directory trees; over the Internet in an HTTP and CDN friendly way; @item An efficient backup system. @end itemize\n") - (license license:lgpl2.1+))) + (license license:lgpl2.1+)))) (define-public rclone (package |