depot/third_party/nixpkgs/pkgs/development/python-modules/dwdwfsapi/default.nix
Default email d0d8e8fc71 Project import generated by Copybara.
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
2021-03-23 19:22:30 +00:00

33 lines
685 B
Nix

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