13 buildPythonPackage rec {
18 disabled = pythonOlder "3.8";
20 src = fetchFromGitHub {
22 repo = "python-open-meteo";
24 sha256 = "0i8jmhd29vvkpfxs9l5wy8525ngs79mnc7si2j9b1nc41xrv91f6";
31 propagatedBuildInputs = [
43 # Upstream doesn't set a version for the pyproject.toml
44 substituteInPlace pyproject.toml \
45 --replace "0.0.0" "${version}" \
46 --replace "--cov" "" \
47 --replace 'aiohttp = "^3.8.1"' 'aiohttp = "^3.8.0"'
50 pythonImportsCheck = [
55 description = "Python client for the Open-Meteo API";
56 homepage = "https://github.com/frenck/python-open-meteo";
57 license = licenses.mit;
58 maintainers = with maintainers; [ fab ];