1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, ciso8601 6}: 7 8buildPythonPackage rec { 9 pname = "dwdwfsapi"; 10 version = "1.0.4"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-JOIg6rLrU8v39z1I6smIPEeiUPdSdJcD2avUsTQq+bU="; 15 }; 16 17 propagatedBuildInputs = [ 18 requests 19 ciso8601 20 ]; 21 22 # All tests require network access 23 doCheck = false; 24 25 pythonImportsCheck = [ "dwdwfsapi" ]; 26 27 meta = with lib; { 28 description = "Python client to retrieve data provided by DWD via their geoserver WFS API"; 29 homepage = "https://github.com/stephan192/dwdwfsapi"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ elohmeier ]; 32 }; 33}