python.pkgs.py3status: fix build
This commit is contained in:
parent
df05618f2a
commit
041043420f
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, requests
|
||||
, pytz
|
||||
, tzlocal
|
||||
@ -19,10 +20,18 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "py3status";
|
||||
version = "3.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c9ef49f72c2d83976d2841ab7e70faee3c77f4d7dbb2d3390ef0f0509473ea9a";
|
||||
};
|
||||
|
||||
# ImportError: cannot import name '_to_ascii'
|
||||
patches = fetchpatch {
|
||||
url = "${meta.homepage}/commit/8a48e01cb68b514b532f56037e4f5a6c19662de5.patch";
|
||||
sha256 = "0v1yja5lvdjk6vh13lvh07n7aw5hjcy7v9lrs2dfb0y0cjw4kx9n";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ pytz requests tzlocal ];
|
||||
buildInputs = [ file ];
|
||||
|
Loading…
Reference in New Issue
Block a user