py3status: 3.7 -> 3.8; add pytz tzlocal deps

* Bump version to 3.8
  * Add `pytz` and `tzlocal` to the dependencies in order to make the
    `clock` module work properly.
This commit is contained in:
Rail Aliiev 2018-04-08 23:20:37 -04:00
parent 734397afa0
commit e1630344b0
No known key found for this signature in database
GPG Key ID: F5380E18F011018E

View File

@ -6219,16 +6219,16 @@ in {
};
py3status = buildPythonPackage rec {
version = "3.7";
version = "3.8";
name = "py3status-${version}";
src = pkgs.fetchFromGitHub {
owner = "ultrabug";
repo = "py3status";
rev = version;
sha256 = "1khrvxjjcm1bsswgrdgvyrdrimxx92yhql4gmji6a0kpp59dp541";
sha256 = "0454g6zmhgpaag5cj16jarp9bm6h0cf9r3pbkjq2j9wa7rynp3l4";
};
doCheck = false;
propagatedBuildInputs = with self; [ requests ];
propagatedBuildInputs = with self; [ pytz requests tzlocal ];
buildInputs = with pkgs; [ file ];
prePatch = ''
sed -i -e "s|'file|'${pkgs.file}/bin/file|" py3status/parse_config.py