nixpkgs/pkgs/applications/networking/mailreaders/mailnag/default.nix

44 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, gettext, gtk3, pythonPackages
2015-06-14 16:31:48 +00:00
, gdk_pixbuf, libnotify, gst_all_1
, libgnome_keyring3, networkmanager
, wrapGAppsHook, gnome3
, withGnomeKeyring ? false
, withNetworkManager ? true
2015-06-14 16:31:48 +00:00
}:
pythonPackages.buildPythonApplication rec {
2015-06-14 16:31:48 +00:00
name = "mailnag-${version}";
2017-09-14 12:32:08 +00:00
version = "1.2.1";
2015-06-14 16:31:48 +00:00
src = fetchurl {
url = "https://github.com/pulb/mailnag/archive/v${version}.tar.gz";
2017-09-14 12:32:08 +00:00
sha256 = "ec7ac027d93bc7d88fc270858f5a181453a6ff07f43cab20563d185818801fee";
2015-06-14 16:31:48 +00:00
};
buildInputs = [
gettext gtk3 gdk_pixbuf libnotify gst_all_1.gstreamer
2015-06-14 16:31:48 +00:00
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gnome3.defaultIconTheme
] ++ stdenv.lib.optional withGnomeKeyring libgnome_keyring3
++ stdenv.lib.optional withNetworkManager networkmanager;
2015-06-14 16:31:48 +00:00
nativeBuildInputs = [
wrapGAppsHook
];
2017-09-14 12:32:08 +00:00
propagatedBuildInputs = with pythonPackages; [
pygobject3 dbus-python pyxdg
];
2017-09-14 12:32:08 +00:00
doCheck = false;
2015-06-14 16:31:48 +00:00
meta = with stdenv.lib; {
description = "An extensible mail notification daemon";
homepage = https://github.com/pulb/mailnag;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}