python3Packages.pyowm: add format
This commit is contained in:
parent
da9c48b2cf
commit
ff3bfb7608
@ -11,6 +11,8 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyowm";
|
pname = "pyowm";
|
||||||
version = "3.3.0";
|
version = "3.3.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -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 New Issue
Block a user