19 buildPythonPackage rec {
20 pname = "go2rtc-client";
24 disabled = pythonOlder "3.12";
26 src = fetchFromGitHub {
27 owner = "home-assistant-libs";
28 repo = "python-go2rtc-client";
29 rev = "refs/tags/${version}";
30 hash = "sha256-oVPZtPRlm3CmTBfxXm66BOOZVQ39DsR+WmkoAdHp4eQ=";
34 substituteInPlace pyproject.toml \
35 --replace-fail 'version = "0.0.0"' 'version = "${version}"'
38 pythonRelaxDeps = [ "orjson" ];
40 build-system = [ hatchling ];
58 pythonImportsCheck = [ "go2rtc_client" ];
61 description = "Module for interacting with go2rtc";
62 homepage = "https://github.com/home-assistant-libs/python-go2rtc-client";
63 changelog = "https://github.com/home-assistant-libs/python-go2rtc-client/releases/tag/${version}";
64 license = lib.licenses.asl20;
65 maintainers = with lib.maintainers; [ ];