Merge pull request #160101 from r-ryantm/auto-update/python3.10-pyowm
python310Packages.pyowm: 3.2.0 -> 3.3.0
This commit is contained in:
commit
19baca38b0
1 changed files with 13 additions and 5 deletions
|
@ -10,14 +10,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyowm";
|
pname = "pyowm";
|
||||||
version = "3.2.0";
|
version = "3.3.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "csparpa";
|
owner = "csparpa";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0sq8rxcgdiayl5gy4qhkvvsdq1d93sbzn0nfg8f1vr8qxh8qkfq4";
|
sha256 = "sha256-cSOhm3aDksLBChZzgw1gjUjLQkElR2/xGFMOb9K9RME=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -26,12 +28,18 @@ buildPythonPackage rec {
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
# Run only tests which don't require network access
|
# Run only tests which don't require network access
|
||||||
pytestFlagsArray = [ "tests/unit" ];
|
pytestFlagsArray = [
|
||||||
|
"tests/unit"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pyowm" ];
|
pythonImportsCheck = [
|
||||||
|
"pyowm"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python wrapper around the OpenWeatherMap web API";
|
description = "Python wrapper around the OpenWeatherMap web API";
|
||||||
|
|
Loading…
Reference in a new issue