From 8c6675167214c7df9efa6f41631f0ebc46fc9449 Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Fri, 29 Jan 2016 18:33:19 +0100 Subject: [PATCH] pythonPackages.py3status: 2.7 -> 2.9 --- pkgs/top-level/python-packages.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 607d702ce061..cace35cb1acb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7142,12 +7142,15 @@ in modules // { }; py3status = buildPythonPackage rec { - name = "py3status-2.7"; + name = "py3status-2.8"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/p/py3status/${name}.tar.gz"; - sha256 = "09r70zbq5xxhzbgd54dcx8p9z0631a454j2ird1lawkms22fc7wv"; + sha256 = "1aq4l1lj6j54a8mh9y3yscbxv41bbhz89fiwnydj2gx0md5sq5v5"; }; propagatedBuildInputs = with self; [ requests2 ]; + prePatch = '' + sed -i -e "s|\[\"acpi\"|\[\"${pkgs.acpi}/bin/acpi\"|" py3status/modules/battery_level.py + ''; meta = { maintainers = with maintainers; [ garbas ]; };