Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 73 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, aiodns, aiohttp, aresponses, poetry-core, pytest-asyncio, pytest-cov-stub, pytest-freezer, pytestCheckHook, syrupy, yarl,}:
buildPythonPackage rec { pname = "forecast-solar"; version = "4.0.0"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "forecast_solar"; rev = "refs/tags/v${version}"; hash = "sha256-lWP4ZG195IuP8E9n53EkvdIs3aVTYeEc171Yh3EngOI="; };
build-system = [ poetry-core ];
env.PACKAGE_VERSION = version;
dependencies = [ aiodns aiohttp yarl ];
pythonImportsCheck = [ "forecast_solar" ];
nativeCheckInputs = [ aresponses pytest-asyncio pytest-cov-stub pytest-freezer pytestCheckHook syrupy ];
disabledTests = [ # "Error while resolving Forecast.Solar API address" "test_api_key_validation" "test_estimated_forecast" "test_internal_session" "test_json_request" "test_plane_validation" "test_status_400" "test_status_401" "test_status_422" "test_status_429" ];
meta = with lib; { changelog = "https://github.com/home-assistant-libs/forecast_solar/releases/tag/v${version}"; description = "Asynchronous Python client for getting forecast solar information"; homepage = "https://github.com/home-assistant-libs/forecast_solar"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };}