1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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