···19192020 buildInputs = [ libcap gtk2 ncurses qt4 ];
21212222+ # configure cannot find moc on its own
2323+ preConfigure = stdenv.lib.optionalString (qt4 != null) ''
2424+ export QTDIR="${qt4}"
2525+ export MOC="${qt4}/bin/moc"
2626+ '';
2727+2228 configureFlags = [
2329 (mkWith (libcap != null) "libcap")
2430 (mkWith (hasX) "x")
···3642 license = stdenv.lib.licenses.gpl2Plus;
3743 platforms = stdenv.lib.platforms.all;
3844 longDescription = ''
3939- Pinentry provides a console and a GTK+ GUI that allows users to
4040- enter a passphrase when `gpg' or `gpg2' is run and needs it.
4545+ Pinentry provides a console and (optional) GTK+ and Qt GUIs allowing users
4646+ to enter a passphrase when `gpg' or `gpg2' is run and needs it.
4147 '';
4848+ maintainers = [ stdenv.lib.maintainers.ttuegel ];
4249 };
4350}