3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/mate-user-share/default.nix
R. RyanTM 1312f7dad3 mate.mate-user-share: 1.20.0 -> 1.20.1 (#42981)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mate-user-share/versions.

These checks were done:

- built on NixOS
- /nix/store/9g73a9gpa3ddsvkzfzwx1hqv7m94mh2q-mate-user-share-1.20.1/bin/mate-file-share-properties passed the binary check.
- /nix/store/9g73a9gpa3ddsvkzfzwx1hqv7m94mh2q-mate-user-share-1.20.1/bin/.mate-file-share-properties-wrapped passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 1.20.1 with grep in /nix/store/9g73a9gpa3ddsvkzfzwx1hqv7m94mh2q-mate-user-share-1.20.1
- directory tree listing: https://gist.github.com/51b81abb3d9b6a416984b6ee3ee536e9
- du listing: https://gist.github.com/04b8e2188f0bb4a452b0730f6731d102
2018-07-08 23:38:43 +02:00

53 lines
1.5 KiB
Nix

{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, dbus-glib, libnotify, libxml2, libcanberra-gtk3, mod_dnssd, apacheHttpd, hicolor-icon-theme, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "mate-user-share-${version}";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0v5xilk978zl5443vlxf25z8z1g5sw9xl5sq76gvrmdlz2parfrn";
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];
buildInputs = [
gtk3
dbus-glib
libnotify
libcanberra-gtk3
libxml2
mate.caja
hicolor-icon-theme
# Should mod_dnssd and apacheHttpd be runtime dependencies?
# In gnome-user-share they are not.
#mod_dnssd
#apacheHttpd
];
preConfigure = ''
sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \
-e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \
-i data/dav_user_2.4.conf
'';
configureFlags = [
"--with-httpd=${apacheHttpd.out}/bin/httpd"
"--with-modules-path=${apacheHttpd.dev}/modules"
"--with-cajadir=$(out)/lib/caja/extensions-2.0"
];
meta = with stdenv.lib; {
description = "User level public file sharing for the MATE desktop";
homepage = https://github.com/mate-desktop/mate-user-share;
license = with licenses; [ gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}