python3Packages.geojson-client: disable on older Python releases
This commit is contained in:
parent
2ca82804d9
commit
86292fe116
@ -6,11 +6,15 @@
|
||||
, pytz
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geojson-client";
|
||||
version = "0.7";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "exxamalte";
|
||||
@ -26,9 +30,13 @@ buildPythonPackage rec {
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "geojson_client" ];
|
||||
pythonImportsCheck = [
|
||||
"geojson_client"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for convenient access to GeoJSON feeds";
|
||||
|
Loading…
Reference in New Issue
Block a user