summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/dwdwfsapi
diff options
context:
space:
mode:
authorEnno Richter <enno@nerdworks.de>2021-03-21 15:15:18 +0100
committerEnno Richter <enno@nerdworks.de>2021-03-23 09:45:55 +0100
commitb96a0d045a97e1ab533014415db5cc7a33548341 (patch)
treeee3dc847ad4e52ba6506b30e9767b20ba5625445 /pkgs/development/python-modules/dwdwfsapi
parentMerge pull request #117267 from r-ryantm/auto-update/bdf2psf (diff)
downloadnixpkgs-b96a0d045a97e1ab533014415db5cc7a33548341.tar.gz
pythonPackages.dwdwfsapi: init at 1.0.3
Diffstat (limited to 'pkgs/development/python-modules/dwdwfsapi')
-rw-r--r--pkgs/development/python-modules/dwdwfsapi/default.nix33
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 000000000000..6699050035d0
--- /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 ];
+ };
+}