17 , selinuxSupport ? true
25 version = "2-226-gbd8898e";
27 src = fetchFromGitHub {
30 rev = "bd8898ed92685e12022dd33a04c87786b5262344";
31 sha256 = "04ibglizjzyd7ih13q6m7ic78n0mzw9nfmb3zd1fcm9j62qlq11i";
34 buildInputs = [ acl curl xz zstd ]
35 ++ lib.optionals (fuseSupport) [ fuse ]
36 ++ lib.optionals (selinuxSupport) [ libselinux ]
37 ++ lib.optionals (udevSupport) [ udev ];
38 nativeBuildInputs = [ meson ninja pkg-config python3 sphinx ];
39 nativeCheckInputs = [ glibcLocales rsync ];
42 for f in test/test-*.sh.in; do
45 patchShebangs test/http-server.py
48 PKG_CONFIG_UDEV_UDEVDIR = "lib/udev";
49 mesonFlags = lib.optionals (!fuseSupport) [ "-Dfuse=false" ]
50 ++ lib.optionals (!udevSupport) [ "-Dudev=false" ]
51 ++ lib.optionals (!selinuxSupport) [ "-Dselinux=false" ];
55 export LC_ALL="en_US.utf-8"
59 description = "Content-Addressable Data Synchronizer";
60 homepage = "https://github.com/systemd/casync";
61 license = licenses.lgpl21Plus;
62 platforms = platforms.linux;
63 maintainers = with maintainers; [ flokli ];