18 inherit (apacheHttpdPackages) apacheHttpd mod_dnssd;
21 stdenv.mkDerivation (finalAttrs: {
22 pname = "gnome-user-share";
26 url = "mirror://gnome/sources/gnome-user-share/${lib.versions.major finalAttrs.version}/gnome-user-share-${finalAttrs.version}.tar.xz";
27 hash = "sha256-yELzUv5/Dw6hj/kYa6lIK2yQ0vazZau1sR1oyQbbpJA=";
31 sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \
32 -e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \
33 -i data/dav_user_2.4.conf
37 "-Dhttpd=${apacheHttpd.out}/bin/httpd"
38 "-Dmodules_path=${apacheHttpd}/modules"
39 "-Dsystemduserunitdir=${placeholder "out"}/etc/systemd/user"
60 updateScript = gnome.updateScript {
61 packageName = "gnome-user-share";
66 homepage = "https://gitlab.gnome.org/GNOME/gnome-user-share";
67 changelog = "https://gitlab.gnome.org/GNOME/gnome-user-share/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
68 description = "Service that exports the contents of the Public folder in your home directory on the local network";
69 maintainers = teams.gnome.members;
70 license = licenses.gpl2Plus;
71 platforms = platforms.linux;