diff --git a/pkgs/development/python-modules/pyowm/default.nix b/pkgs/development/python-modules/pyowm/default.nix index 26606a580a4..8175ef2b172 100644 --- a/pkgs/development/python-modules/pyowm/default.nix +++ b/pkgs/development/python-modules/pyowm/default.nix @@ -11,6 +11,14 @@ buildPythonPackage rec { 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; { description = "A Python wrapper around the OpenWeatherMap web API"; homepage = https://pyowm.readthedocs.io/;