forked from mirrors/nixpkgs
Merge pull request #117121 from elohmeier/dwdwfsapi
This commit is contained in:
commit
5409b08d8a
33
pkgs/development/python-modules/dwdwfsapi/default.nix
Normal file
33
pkgs/development/python-modules/dwdwfsapi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -192,7 +192,7 @@
|
|||
"dublin_bus_transport" = ps: with ps; [ ];
|
||||
"duckdns" = ps: with ps; [ ];
|
||||
"dunehd" = ps: with ps; [ ]; # missing inputs: pdunehd
|
||||
"dwd_weather_warnings" = ps: with ps; [ ]; # missing inputs: dwdwfsapi
|
||||
"dwd_weather_warnings" = ps: with ps; [ dwdwfsapi ];
|
||||
"dweet" = ps: with ps; [ ]; # missing inputs: dweepy
|
||||
"dynalite" = ps: with ps; [ ]; # missing inputs: dynalite_devices
|
||||
"dyson" = ps: with ps; [ aiohttp-cors libpurecool zeroconf ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue