Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 69 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, aiohttp, aioresponses, awesomeversion, buildPythonPackage, fetchFromGitHub, hatchling, mashumaro, orjson, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, syrupy, webrtc-models,}:
buildPythonPackage rec { pname = "go2rtc-client"; version = "0.4.0"; pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "python-go2rtc-client"; tag = version; hash = "sha256-+/ko59AeFl8R/fRNjB5SykFPXm8PR3s6Imccj/bHkJI="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${version}"' '';
pythonRelaxDeps = [ "orjson" ];
build-system = [ hatchling ];
dependencies = [ aiohttp awesomeversion mashumaro orjson webrtc-models ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytest-cov-stub pytestCheckHook syrupy ];
pythonImportsCheck = [ "go2rtc_client" ];
__darwinAllowLocalNetworking = true;
meta = { description = "Module for interacting with go2rtc"; homepage = "https://github.com/home-assistant-libs/python-go2rtc-client"; changelog = "https://github.com/home-assistant-libs/python-go2rtc-client/releases/tag/${version}"; license = lib.licenses.asl20; maintainers = [ ]; };}