Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
953 B · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, aioresponses, buildPythonPackage, orjson, fetchFromGitHub, propcache, pytest-asyncio, pytestCheckHook, pythonOlder, aiohttp, setuptools,}:
buildPythonPackage rec { pname = "nexia"; version = "2.10.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "bdraco"; repo = "nexia"; tag = version; hash = "sha256-5gx66PVyrpL/9EXEWsHxKZVHmpfOKluN3LLok2qW3oU="; };
build-system = [ setuptools ];
dependencies = [ aiohttp orjson propcache ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "nexia" ];
meta = with lib; { description = "Python module for Nexia thermostats"; homepage = "https://github.com/bdraco/nexia"; changelog = "https://github.com/bdraco/nexia/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}