18 selinuxSupport ? true,
26 version = "2-226-gbd8898e";
28 src = fetchFromGitHub {
31 rev = "bd8898ed92685e12022dd33a04c87786b5262344";
32 sha256 = "04ibglizjzyd7ih13q6m7ic78n0mzw9nfmb3zd1fcm9j62qlq11i";
42 ++ lib.optionals (fuseSupport) [ fuse ]
43 ++ lib.optionals (selinuxSupport) [ libselinux ]
44 ++ lib.optionals (udevSupport) [ udev ];
58 for f in test/test-*.sh.in; do
61 patchShebangs test/http-server.py
64 PKG_CONFIG_UDEV_UDEVDIR = "lib/udev";
66 lib.optionals (!fuseSupport) [ "-Dfuse=false" ]
67 ++ lib.optionals (!udevSupport) [ "-Dudev=false" ]
68 ++ lib.optionals (!selinuxSupport) [ "-Dselinux=false" ];
72 export LC_ALL="en_US.utf-8"
76 description = "Content-Addressable Data Synchronizer";
77 mainProgram = "casync";
78 homepage = "https://github.com/systemd/casync";
79 license = licenses.lgpl21Plus;
80 platforms = platforms.linux;
81 maintainers = with maintainers; [ flokli ];