Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytz, websockets, pyprojectVersionPatchHook, pytest-asyncio, pytest-mock, pytestCheckHook,}:
buildPythonPackage rec { pname = "bluecurrent-api"; version = "1.3.3"; pyproject = true;
src = fetchFromGitHub { owner = "bluecurrent"; repo = "HomeAssistantAPI"; tag = "v${version}"; hash = "sha256-px4kZOvMUP5aGOQ1uxWnY6w77Woie/hVVdyylW8uSX4="; };
nativeBuildInputs = [ pyprojectVersionPatchHook ];
build-system = [ setuptools ];
dependencies = [ pytz websockets ];
pythonRelaxDeps = [ "websockets" ];
pythonImportsCheck = [ "bluecurrent_api" ];
nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook ];
meta = { description = "Wrapper for the Blue Current websocket api"; homepage = "https://github.com/bluecurrent/HomeAssistantAPI"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}