Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 80 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, acme, aiohttp, atomicwrites-homeassistant, attrs, buildPythonPackage, ciso8601, cryptography, fetchFromGitHub, pycognito, pyjwt, pytest-aiohttp, pytest-timeout, pytestCheckHook, pythonOlder, setuptools, snitun, syrupy, webrtc-models, xmltodict,}:
buildPythonPackage rec { pname = "hass-nabucasa"; version = "0.106.0"; pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub { owner = "nabucasa"; repo = "hass-nabucasa"; tag = version; hash = "sha256-GrdtZGAaDZWVsKatiWxp9uSNSLjnzM0Cw+26IHm1KN0="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "acme" "josepy" ];
dependencies = [ acme aiohttp atomicwrites-homeassistant attrs ciso8601 cryptography pycognito pyjwt snitun webrtc-models ];
nativeCheckInputs = [ pytest-aiohttp pytest-timeout pytestCheckHook syrupy xmltodict ];
disabledTests = [ # mock time 10800s (3h) vs 43200s (12h) "test_subscription_reconnection_handler_renews_and_starts" ];
pythonImportsCheck = [ "hass_nabucasa" ];
meta = with lib; { description = "Python module for the Home Assistant cloud integration"; homepage = "https://github.com/NabuCasa/hass-nabucasa"; changelog = "https://github.com/NabuCasa/hass-nabucasa/releases/tag/${src.tag}"; license = licenses.gpl3Only; maintainers = with maintainers; [ Scriptkiddi ]; };}