python.pkgs.py3status: Added missing Python deps (#56703)

According to py3status' modules documentation [1]:

- i3ipc: Used by scratchpad_async and window_title_async modules.
- pydbus: Used by kdeconnector, mpris, systemd, vpn_status and wwan
modules.
- pyserial: Used by wwan_status module.

[1]: https://py3status.readthedocs.io/en/latest/modules.html
This commit is contained in:
Thiago Kenji Okada 2019-03-23 08:23:28 -03:00 committed by Robert Schütz
parent b8ed97001e
commit 8820a7ab2c

View File

@ -5,6 +5,10 @@
, requests
, pytz
, tzlocal
, i3ipc
, pydbus
, pygobject3
, pyserial
, file
, acpi
@ -20,14 +24,14 @@
buildPythonPackage rec {
pname = "py3status";
version = "3.16";
src = fetchPypi {
inherit pname version;
sha256 = "1xrfph277bgjln3jbpzpgkhxad04fjvj7s3xfil42q1sxi4s3q3g";
};
doCheck = false;
propagatedBuildInputs = [ pytz requests tzlocal ];
propagatedBuildInputs = [ pytz requests tzlocal i3ipc pydbus pygobject3 pyserial ];
buildInputs = [ file ];
prePatch = ''
sed -i -e "s|'file|'${file}/bin/file|" py3status/parse_config.py