diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2021-03-23 16:02:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 16:02:37 +0100 |
commit | 5409b08d8a8f7617a7eec5900dbe7c6cf924cdac (patch) | |
tree | ade14dcbff13ccd7bac8c6dee700b190be6fe843 /pkgs/development | |
parent | d8c989a482c8f33cfcae1ad7abd978bfa7a62807 (diff) | |
parent | 62e8769a3a5e6ec849995448a49907cb1bf75339 (diff) |
Merge pull request #117121 from elohmeier/dwdwfsapi
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/dwdwfsapi/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dwdwfsapi/default.nix b/pkgs/development/python-modules/dwdwfsapi/default.nix new file mode 100644 index 0000000000000..6699050035d08 --- /dev/null +++ b/pkgs/development/python-modules/dwdwfsapi/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +, ciso8601 +}: + +buildPythonPackage rec { + pname = "dwdwfsapi"; + version = "1.0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-PX1b1msaZH8HKVBo3GU7TOr8Lo7INLjjJBkDHHs6mzk="; + }; + + propagatedBuildInputs = [ + requests + ciso8601 + ]; + + # All tests require network access + doCheck = false; + + pythonImportsCheck = [ "dwdwfsapi" ]; + + meta = with lib; { + description = "Python client to retrieve data provided by DWD via their geoserver WFS API"; + homepage = "https://github.com/stephan192/dwdwfsapi"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ elohmeier ]; + }; +} |