17 stdenv.mkDerivation rec {
18 pname = "lightdm-gtk-greeter";
22 # Release tarball differs from source tarball.
23 url = "https://github.com/Xubuntu/lightdm-gtk-greeter/releases/download/lightdm-gtk-greeter-${version}/lightdm-gtk-greeter-${version}.tar.gz";
24 sha256 = "vvuzAMezT/IYZf28iBIB9zD8fFYOngHRfomelHcVBhM=";
42 "--localstatedir=/var"
44 "--disable-indicator-services-command"
45 "--sbindir=${placeholder "out"}/bin" # for wrapGAppsHook to wrap automatically
49 configureFlagsArray+=( --enable-at-spi-command="${at-spi2-core}/libexec/at-spi-bus-launcher --launch-immediately" )
53 "localstatedir=\${TMPDIR}"
54 "sysconfdir=${placeholder "out"}/etc"
58 substituteInPlace "$out/share/xgreeters/lightdm-gtk-greeter.desktop" \
59 --replace "Exec=lightdm-gtk-greeter" "Exec=$out/bin/lightdm-gtk-greeter"
62 passthru.xgreeters = linkFarm "lightdm-gtk-greeter-xgreeters" [{
63 path = "${lightdm-gtk-greeter}/share/xgreeters/lightdm-gtk-greeter.desktop";
64 name = "lightdm-gtk-greeter.desktop";
68 homepage = "https://github.com/Xubuntu/lightdm-gtk-greeter";
69 description = "A GTK greeter for LightDM";
70 platforms = platforms.linux;
71 license = licenses.gpl3Plus;
72 maintainers = with maintainers; [ bobby285271 ];