forked from mirrors/nixpkgs
commit
2e4282d968
|
@ -2,11 +2,13 @@
|
|||
, gdk_pixbuf, libnotify, gst_all_1
|
||||
, libgnome_keyring3, networkmanager
|
||||
, wrapGAppsHook, gnome3
|
||||
, withGnomeKeyring ? false
|
||||
, withNetworkManager ? true
|
||||
# otherwise passwords are stored unencrypted
|
||||
, withGnomeKeyring ? true
|
||||
}:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
let
|
||||
inherit (pythonPackages) python;
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
name = "mailnag-${version}";
|
||||
version = "1.2.1";
|
||||
|
||||
|
@ -20,8 +22,7 @@ pythonPackages.buildPythonApplication rec {
|
|||
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;
|
||||
] ++ stdenv.lib.optional withGnomeKeyring libgnome_keyring3;
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
|
@ -31,6 +32,10 @@ pythonPackages.buildPythonApplication rec {
|
|||
pygobject3 dbus-python pyxdg
|
||||
];
|
||||
|
||||
buildPhase = "";
|
||||
|
||||
installPhase = "${python}/bin/python setup.py install --prefix=$out";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue