python.pkgs.pyowm: fix build
This commit is contained in:
parent
751c9328e6
commit
363910dc7f
@ -11,6 +11,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
# This may actually break the package.
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "requests>=2.18.2,<2.19" "requests"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# No tests in archive
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Python wrapper around the OpenWeatherMap web API";
|
description = "A Python wrapper around the OpenWeatherMap web API";
|
||||||
homepage = https://pyowm.readthedocs.io/;
|
homepage = https://pyowm.readthedocs.io/;
|
||||||
|
Loading…
Reference in New Issue
Block a user