Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, aiohttp, aioresponses, bluetooth-data-tools, buildPythonPackage, fetchFromGitHub, habluetooth, orjson, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, yarl,}:
buildPythonPackage rec { pname = "aioshelly"; version = "13.7.2"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "aioshelly"; tag = version; hash = "sha256-8OOg6+oKaeLk2kUJ44ynxuNx1ZGtAydLhgAhM2N9Hn0="; };
build-system = [ setuptools ];
dependencies = [ aiohttp bluetooth-data-tools habluetooth orjson yarl ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "aioshelly" ];
meta = with lib; { description = "Python library to control Shelly"; homepage = "https://github.com/home-assistant-libs/aioshelly"; changelog = "https://github.com/home-assistant-libs/aioshelly/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}