python3Packages.pyowm: add format
This commit is contained in:
parent
da9c48b2cf
commit
ff3bfb7608
1 changed files with 11 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue