25 buildPythonPackage rec {
30 inherit pname version;
31 sha256 = "sha256-e2UTTD8J1GDg43FdzU8Xiaj2bL/gHLIT2lzwbwarIyI=";
35 propagatedBuildInputs = [
36 pytz requests tzlocal i3ipc pydbus pygobject3 pyserial setuptools dbus-python file
39 sed -i -e "s|'file|'${file}/bin/file|" py3status/parse_config.py
40 sed -i -e "s|\[\"acpi\"|\[\"${acpi}/bin/acpi\"|" py3status/modules/battery_level.py
41 sed -i -e "s|notify-send|${libnotify}/bin/notify-send|" py3status/modules/battery_level.py
42 sed -i -e "s|/usr/bin/whoami|${coreutils}/bin/whoami|" py3status/modules/external_script.py
43 sed -i -e "s|'amixer|'${alsa-utils}/bin/amixer|" py3status/modules/volume_status.py
44 sed -i -e "s|'i3-nagbar|'${i3}/bin/i3-nagbar|" py3status/modules/pomodoro.py
45 sed -i -e "s|'free|'${procps}/bin/free|" py3status/modules/sysdata.py
46 sed -i -e "s|'sensors|'${lm_sensors}/bin/sensors|" py3status/modules/sysdata.py
47 sed -i -e "s|'setxkbmap|'${xorg.setxkbmap}/bin/setxkbmap|" py3status/modules/keyboard_layout.py
48 sed -i -e "s|'xset|'${xorg.xset}/bin/xset|" py3status/modules/keyboard_layout.py
52 description = "Extensible i3status wrapper";
53 license = licenses.bsd3;
54 homepage = "https://github.com/ultrabug/py3status";
55 maintainers = with maintainers; [ ];