diff options
author | Will Dietz <w@wdtz.org> | 2018-03-21 08:45:47 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-03-21 09:48:23 -0500 |
commit | 7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5 (patch) | |
tree | 459726c3f9350be590c273e6af95b6eb720b6236 /pkgs/applications/networking/newsreaders | |
parent | 96f0d4e98cd0be7c05b4b2d0a3a6d8db2c6726c5 (diff) | |
download | nixpkgs-7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5.tar nixpkgs-7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5.tar.gz nixpkgs-7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5.tar.bz2 nixpkgs-7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5.tar.lz nixpkgs-7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5.tar.xz nixpkgs-7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5.tar.zst nixpkgs-7d873b8fd245aff7ef8dc41863a6c86e3e8fb8d5.zip |
pan: ensure features we provide deps for are used, move to gtk3
Diffstat (limited to 'pkgs/applications/networking/newsreaders')
-rw-r--r-- | pkgs/applications/networking/newsreaders/pan/default.nix | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/pkgs/applications/networking/newsreaders/pan/default.nix b/pkgs/applications/networking/newsreaders/pan/default.nix index 34e24823e46..1d913118433 100644 --- a/pkgs/applications/networking/newsreaders/pan/default.nix +++ b/pkgs/applications/networking/newsreaders/pan/default.nix @@ -1,10 +1,11 @@ { spellChecking ? true -, stdenv, fetchurl, pkgconfig, gtk2, gtkspell2 ? null -, perl, pcre, gmime, gettext, intltool, itstool, libxml2, dbus-glib, libnotify +, stdenv, fetchurl, pkgconfig, gtk3, gtkspell3 ? null +, perl, pcre, gmime2, gettext, intltool, itstool, libxml2, dbus-glib, libnotify, gnutls , makeWrapper, gnupg +, gnomeSupport ? true, libgnome-keyring3 }: -assert spellChecking -> gtkspell2 != null; +assert spellChecking -> gtkspell3 != null; let version = "0.144"; in @@ -17,8 +18,17 @@ stdenv.mkDerivation { }; nativeBuildInputs = [ pkgconfig makeWrapper ]; - buildInputs = [ gtk2 perl gmime gettext gnupg intltool itstool libxml2 dbus-glib libnotify ] - ++ stdenv.lib.optional spellChecking gtkspell2; + buildInputs = [ gtk3 perl gmime2 gettext intltool itstool libxml2 dbus-glib libnotify gnutls ] + ++ stdenv.lib.optional spellChecking gtkspell3 + ++ stdenv.lib.optional gnomeSupport libgnome-keyring3; + + configureFlags = [ + "--with-dbus" + "--with-gtk3" + "--with-gnutls" + "--enable-libnotify" + ] ++ stdenv.lib.optional spellChecking "--with-gtkspell" + ++ stdenv.lib.optional gnomeSupport "--enable-gkr"; postInstall = '' wrapProgram $out/bin/pan --suffix PATH : ${gnupg}/bin |