Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 87 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788{ lib, acme, aiohttp, atomicwrites-homeassistant, attrs, buildPythonPackage, ciso8601, cryptography, fetchFromGitHub, freezegun, pycognito, pyjwt, pytest-aiohttp, pytest-socket, pytest-timeout, pytestCheckHook, pythonOlder, sentence-stream, setuptools, snitun, syrupy, webrtc-models, xmltodict,}:
buildPythonPackage rec { pname = "hass-nabucasa"; version = "0.111.1"; pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub { owner = "nabucasa"; repo = "hass-nabucasa"; tag = version; hash = "sha256-WmsLn/pHI3KJSmX5U20eNUEs0Q1upuwkkzcHIYPNYjY="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "acme" "josepy" "snitun" ];
dependencies = [ acme aiohttp atomicwrites-homeassistant attrs ciso8601 cryptography pycognito pyjwt sentence-stream snitun webrtc-models ];
nativeCheckInputs = [ freezegun pytest-aiohttp pytest-socket 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 ]; };}