mailnag: use setup.py

This commit is contained in:
gnidorah 2017-10-17 13:38:18 +03:00
parent 49f68937c8
commit b3b438a8fd

View file

@ -6,7 +6,9 @@
, withNetworkManager ? true
}:
pythonPackages.buildPythonApplication rec {
let
inherit (pythonPackages) python;
in pythonPackages.buildPythonApplication rec {
name = "mailnag-${version}";
version = "1.2.1";
@ -31,6 +33,10 @@ pythonPackages.buildPythonApplication rec {
pygobject3 dbus-python pyxdg
];
buildPhase = "";
installPhase = "${python}/bin/python setup.py install --prefix=$out";
doCheck = false;
meta = with stdenv.lib; {