Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, aiomqtt, buildPythonPackage, fetchFromGitHub, hatchling, pydantic, pytest-asyncio, pytest-timeout, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "harbor-python"; version = "1.6.0"; pyproject = true;
src = fetchFromGitHub { owner = "Harbor-Systems"; repo = "harbor-python"; tag = "v${finalAttrs.version}"; hash = "sha256-868eU9viOJvCv7DGEIPW/NEtFSwOjZkBNAd+ScQmCEk="; };
build-system = [ hatchling ];
dependencies = [ aiomqtt pydantic ];
nativeCheckInputs = [ pytest-asyncio pytest-timeout pytestCheckHook ];
pythonImportsCheck = [ "harbor" ];
meta = { description = "Async local client for Harbor Sleep Cameras"; homepage = "https://github.com/Harbor-Systems/harbor-python"; changelog = "https://github.com/Harbor-Systems/harbor-python/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.jamiemagee ]; };})