pythonPackages.dwdwfsapi: init at 1.0.3

This commit is contained in:
Enno Richter 2021-03-21 15:15:18 +01:00
parent e0c05e18ae
commit b96a0d045a
2 changed files with 35 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -2080,6 +2080,8 @@ in {
else
callPackage ../development/python-modules/dulwich/0_19.nix { };
dwdwfsapi = callPackage ../development/python-modules/dwdwfsapi { };
dyn = callPackage ../development/python-modules/dyn { };
dynd = callPackage ../development/python-modules/dynd { };