python310Packages.dwdwfsapi: disable on older Python releases
This commit is contained in:
parent
0e4b9cd06d
commit
af752650eb
1 changed files with 8 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue