python310Packages.dwdwfsapi: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-10-01 21:56:28 +02:00 committed by GitHub
parent 0e4b9cd06d
commit af752650eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,15 +3,19 @@
, fetchPypi
, requests
, ciso8601
, pythonOlder
}:
buildPythonPackage rec {
pname = "dwdwfsapi";
version = "1.0.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zeSV2acjtSWUYnrMjEBtrSPlXRvrNQRX5SYPYHnaOy0=";
hash = "sha256-zeSV2acjtSWUYnrMjEBtrSPlXRvrNQRX5SYPYHnaOy0=";
};
propagatedBuildInputs = [
@ -22,7 +26,9 @@ buildPythonPackage rec {
# All tests require network access
doCheck = false;
pythonImportsCheck = [ "dwdwfsapi" ];
pythonImportsCheck = [
"dwdwfsapi"
];
meta = with lib; {
description = "Python client to retrieve data provided by DWD via their geoserver WFS API";