21 inherit (apacheHttpdPackages) apacheHttpd mod_dnssd;
23 stdenv.mkDerivation rec {
24 pname = "mate-user-share";
28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
29 sha256 = "iYVgmZkXllE0jkl+8I81C4YIG5expKcwQHfurlc5rjg=";
47 # Should mod_dnssd and apacheHttpd be runtime dependencies?
48 # In gnome-user-share they are not.
54 sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \
55 -e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \
56 -i data/dav_user_2.4.conf
60 "--with-httpd=${apacheHttpd.out}/bin/httpd"
61 "--with-modules-path=${apacheHttpd}/modules"
62 "--with-cajadir=$(out)/lib/caja/extensions-2.0"
65 enableParallelBuilding = true;
67 passthru.updateScript = mateUpdateScript { inherit pname; };
70 description = "User level public file sharing for the MATE desktop";
71 mainProgram = "mate-file-share-properties";
72 homepage = "https://github.com/mate-desktop/mate-user-share";
73 license = with licenses; [ gpl2Plus ];
74 platforms = platforms.unix;
75 maintainers = teams.mate.members;