Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 67 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ 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.1.2"; pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "python-go2rtc-client"; rev = "refs/tags/${version}"; hash = "sha256-t4ewL4YvxdeDBBKDYapvDUK/Mt6zQ/hhOpVtW3dlmSg="; };
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" ];
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 = with lib.maintainers; [ ]; };}