python3Packages.pyowm: 3.1.1 -> 3.2.0

This commit is contained in:
Fabian Affolter 2021-02-25 10:05:10 +01:00
parent ca16e7dc52
commit 65b91f617f

View file

@ -1,17 +1,27 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, requests, geojson }: { lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
, geojson
, pysocks
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyowm"; pname = "pyowm";
version = "3.1.1"; version = "3.2.0";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "a7b18297a9189dbe5f6b454b12d61a407e35c7eb9ca75bcabfe5e1c83245290d"; sha256 = "sha256-o9QL2KtZdRa/uFq+tq8LDm5jRovNuma96qOSDK/hqN4=";
}; };
propagatedBuildInputs = [ requests geojson ]; propagatedBuildInputs = [
geojson
pysocks
requests
];
# This may actually break the package. # This may actually break the package.
postPatch = '' postPatch = ''
@ -21,9 +31,10 @@ buildPythonPackage rec {
# No tests in archive # No tests in archive
doCheck = false; doCheck = false;
pythonImportsCheck = [ "" ];
meta = with lib; { 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/"; homepage = "https://pyowm.readthedocs.io/";
license = licenses.mit; license = licenses.mit;
}; };