python3Packages.pyowm: add format

This commit is contained in:
Fabian Affolter 2022-02-15 09:01:32 +01:00 committed by GitHub
parent da9c48b2cf
commit ff3bfb7608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,8 @@
buildPythonPackage rec {
pname = "pyowm";
version = "3.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
@ -26,12 +28,18 @@ buildPythonPackage rec {
requests
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
# Run only tests which don't require network access
pytestFlagsArray = [ "tests/unit" ];
pytestFlagsArray = [
"tests/unit"
];
pythonImportsCheck = [ "pyowm" ];
pythonImportsCheck = [
"pyowm"
];
meta = with lib; {
description = "Python wrapper around the OpenWeatherMap web API";