depot/third_party/nixpkgs/pkgs/development/python-modules/dwdwfsapi/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

39 lines
761 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, ciso8601
, pythonOlder
}:
buildPythonPackage rec {
pname = "dwdwfsapi";
version = "1.0.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-zeSV2acjtSWUYnrMjEBtrSPlXRvrNQRX5SYPYHnaOy0=";
};
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 ];
};
}