Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
917 B · 44 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, aiohttp, bluetooth-data-tools, buildPythonPackage, fetchFromGitHub, orjson, pythonOlder}:
buildPythonPackage rec { pname = "aioshelly"; version = "5.3.2"; format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-eqZyCQ96CasBlO++QcQ/HiVWWeB2jQltHXZRbIfub7Q="; };
propagatedBuildInputs = [ aiohttp bluetooth-data-tools orjson ];
# Project has no test doCheck = false;
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/${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}