python3Packages.geojson-client: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-02-26 09:31:10 +01:00 committed by GitHub
parent 2ca82804d9
commit 86292fe116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";