mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #216934 from r-ryantm/auto-update/python310Packages.py3status
python310Packages.py3status: 3.48 -> 3.49
This commit is contained in:
commit
76a2d4e139
@ -1,40 +1,48 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, acpi
|
||||||
|
, alsa-utils
|
||||||
|
, coreutils
|
||||||
|
, dbus-python
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, requests
|
, file
|
||||||
, pytz
|
, i3
|
||||||
, tzlocal
|
|
||||||
, i3ipc
|
, i3ipc
|
||||||
|
, libnotify
|
||||||
|
, lm_sensors
|
||||||
|
, procps
|
||||||
, pydbus
|
, pydbus
|
||||||
, pygobject3
|
, pygobject3
|
||||||
, pyserial
|
, pyserial
|
||||||
|
, pytz
|
||||||
|
, requests
|
||||||
, setuptools
|
, setuptools
|
||||||
, dbus-python
|
, tzlocal
|
||||||
|
|
||||||
, file
|
|
||||||
, acpi
|
|
||||||
, coreutils
|
|
||||||
, alsa-utils
|
|
||||||
, i3
|
|
||||||
, procps
|
|
||||||
, lm_sensors
|
|
||||||
, libnotify
|
|
||||||
, xorg
|
, xorg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "py3status";
|
pname = "py3status";
|
||||||
version = "3.48";
|
version = "3.49";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-igt0niF52at/LERv4+1aVvdU+ZLVvgL2W+l6feuEAO0=";
|
hash = "sha256-aTQ3hYDMyXSTcEiCVtdU3XQ4xO7mN5dZ0S94ZWbSGo4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pytz requests tzlocal i3ipc pydbus pygobject3 pyserial setuptools dbus-python file
|
pytz
|
||||||
|
requests
|
||||||
|
tzlocal
|
||||||
|
i3ipc
|
||||||
|
pydbus
|
||||||
|
pygobject3
|
||||||
|
pyserial
|
||||||
|
setuptools
|
||||||
|
dbus-python
|
||||||
|
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
|
||||||
sed -i -e "s|\[\"acpi\"|\[\"${acpi}/bin/acpi\"|" py3status/modules/battery_level.py
|
sed -i -e "s|\[\"acpi\"|\[\"${acpi}/bin/acpi\"|" py3status/modules/battery_level.py
|
||||||
@ -48,10 +56,13 @@ buildPythonPackage rec {
|
|||||||
sed -i -e "s|'xset|'${xorg.xset}/bin/xset|" py3status/modules/keyboard_layout.py
|
sed -i -e "s|'xset|'${xorg.xset}/bin/xset|" py3status/modules/keyboard_layout.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Extensible i3status wrapper";
|
description = "Extensible i3status wrapper";
|
||||||
license = licenses.bsd3;
|
|
||||||
homepage = "https://github.com/ultrabug/py3status";
|
homepage = "https://github.com/ultrabug/py3status";
|
||||||
|
changelog = "https://github.com/ultrabug/py3status/blob/${version}/CHANGELOG";
|
||||||
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user