diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-25 10:05:10 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-25 10:05:10 +0100 |
commit | 65b91f617fd26bd8d9d804bc1c4e057fdf40f58e (patch) | |
tree | 3fd12a85a9e74a4f7d8161bb9494f16d8c0cbe9e /pkgs/development/python-modules/pyowm | |
parent | ca16e7dc52d0bf56d19147acba273f39318d1235 (diff) |
python3Packages.pyowm: 3.1.1 -> 3.2.0
Diffstat (limited to 'pkgs/development/python-modules/pyowm')
-rw-r--r-- | pkgs/development/python-modules/pyowm/default.nix | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pyowm/default.nix b/pkgs/development/python-modules/pyowm/default.nix index 423d38ab25d8c..df222181e1743 100644 --- a/pkgs/development/python-modules/pyowm/default.nix +++ b/pkgs/development/python-modules/pyowm/default.nix @@ -1,17 +1,27 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder, requests, geojson }: +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, requests +, geojson +, pysocks +}: buildPythonPackage rec { pname = "pyowm"; - version = "3.1.1"; - - disabled = pythonOlder "3.3"; + version = "3.2.0"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "a7b18297a9189dbe5f6b454b12d61a407e35c7eb9ca75bcabfe5e1c83245290d"; + sha256 = "sha256-o9QL2KtZdRa/uFq+tq8LDm5jRovNuma96qOSDK/hqN4="; }; - propagatedBuildInputs = [ requests geojson ]; + propagatedBuildInputs = [ + geojson + pysocks + requests + ]; # This may actually break the package. postPatch = '' @@ -21,9 +31,10 @@ buildPythonPackage rec { # No tests in archive doCheck = false; + pythonImportsCheck = [ "" ]; meta = with lib; { - description = "A Python wrapper around the OpenWeatherMap web API"; + description = "Python wrapper around the OpenWeatherMap web API"; homepage = "https://pyowm.readthedocs.io/"; license = licenses.mit; }; |