22 autoAwaySupport ? true,
34 pythonPluginSupport ? true,
40 stdenv.mkDerivation rec {
44 src = fetchFromGitHub {
45 owner = "profanity-im";
48 hash = "sha256-u/mp+vtMj602LfrulA+nhLNH8K6sqKIOuPJzhZusVmE=";
52 ./patches/packages-osx.patch
55 enableParallelBuilding = true;
80 ++ lib.optionals autoAwaySupport [
84 ++ lib.optionals notifySupport [
88 ++ lib.optionals omemoSupport [
93 ++ lib.optionals pgpSupport [ gpgme ]
94 ++ lib.optionals pythonPluginSupport [ python3 ]
95 ++ lib.optionals traySupport [ gtk3 ];
97 # Enable feature flags, so that build fail if libs are missing
103 ++ lib.optionals notifySupport [ "--enable-notifications" ]
104 ++ lib.optionals traySupport [ "--enable-icons-and-clipboard" ]
105 ++ lib.optionals pgpSupport [ "--enable-pgp" ]
106 ++ lib.optionals pythonPluginSupport [ "--enable-python-plugins" ]
107 ++ lib.optionals omemoSupport [ "--enable-omemo" ];
115 LC_ALL = "en_US.utf8";
118 homepage = "http://www.profanity.im/";
119 description = "Console based XMPP client";
120 mainProgram = "profanity";
122 Profanity is a console based XMPP client written in C using ncurses and
123 libstrophe, inspired by Irssi.
125 license = licenses.gpl3Plus;
126 maintainers = [ maintainers.devhell ];
127 platforms = platforms.unix;