1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 requests, 7 ciso8601, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "dwdwfsapi"; 13 version = "1.1.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-7dIVD+4MiYtsjAM5j67MlbiUN2Q5DpK6bUU0ZuHN2rk="; 21 }; 22 23 build-system = [ hatchling ]; 24 25 dependencies = [ 26 requests 27 ciso8601 28 ]; 29 30 # All tests require network access 31 doCheck = false; 32 33 pythonImportsCheck = [ "dwdwfsapi" ]; 34 35 meta = with lib; { 36 description = "Python client to retrieve data provided by DWD via their geoserver WFS API"; 37 homepage = "https://github.com/stephan192/dwdwfsapi"; 38 changelog = "https://github.com/stephan192/dwdwfsapi/blob/v${version}/CHANGELOG.md"; 39 license = with licenses; [ mit ]; 40 }; 41}