26 buildPythonPackage rec {
32 inherit pname version;
33 hash = "sha256-SJScEz9WsqB0jRAHmUHpmnAbuqnRnHUUgc1rDN0tScw=";
36 nativeBuildInputs = [ hatchling ];
38 propagatedBuildInputs = [
52 sed -i -e "s|'file|'${file}/bin/file|" py3status/parse_config.py
53 sed -i -e "s|\[\"acpi\"|\[\"${acpi}/bin/acpi\"|" py3status/modules/battery_level.py
54 sed -i -e "s|notify-send|${libnotify}/bin/notify-send|" py3status/modules/battery_level.py
55 sed -i -e "s|/usr/bin/whoami|${coreutils}/bin/whoami|" py3status/modules/external_script.py
56 sed -i -e "s|'amixer|'${alsa-utils}/bin/amixer|" py3status/modules/volume_status.py
57 sed -i -e "s|'i3-nagbar|'${i3}/bin/i3-nagbar|" py3status/modules/pomodoro.py
58 sed -i -e "s|'free|'${procps}/bin/free|" py3status/modules/sysdata.py
59 sed -i -e "s|'sensors|'${lm_sensors}/bin/sensors|" py3status/modules/sysdata.py
60 sed -i -e "s|'setxkbmap|'${xorg.setxkbmap}/bin/setxkbmap|" py3status/modules/keyboard_layout.py
61 sed -i -e "s|'xset|'${xorg.xset}/bin/xset|" py3status/modules/keyboard_layout.py
67 description = "Extensible i3status wrapper";
68 homepage = "https://github.com/ultrabug/py3status";
69 changelog = "https://github.com/ultrabug/py3status/blob/${version}/CHANGELOG";
70 license = licenses.bsd3;