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:
parent
734397afa0
commit
e1630344b0
@ -6219,16 +6219,16 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
py3status = buildPythonPackage rec {
|
py3status = buildPythonPackage rec {
|
||||||
version = "3.7";
|
version = "3.8";
|
||||||
name = "py3status-${version}";
|
name = "py3status-${version}";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "ultrabug";
|
owner = "ultrabug";
|
||||||
repo = "py3status";
|
repo = "py3status";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1khrvxjjcm1bsswgrdgvyrdrimxx92yhql4gmji6a0kpp59dp541";
|
sha256 = "0454g6zmhgpaag5cj16jarp9bm6h0cf9r3pbkjq2j9wa7rynp3l4";
|
||||||
};
|
};
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
propagatedBuildInputs = with self; [ requests ];
|
propagatedBuildInputs = with self; [ pytz requests tzlocal ];
|
||||||
buildInputs = with pkgs; [ file ];
|
buildInputs = with pkgs; [ file ];
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
sed -i -e "s|'file|'${pkgs.file}/bin/file|" py3status/parse_config.py
|
sed -i -e "s|'file|'${pkgs.file}/bin/file|" py3status/parse_config.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user