Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 60 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, aiohttp, aresponses, async-modbus, async-timeout, buildPythonPackage, construct, exceptiongroup, fetchFromGitHub, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, tenacity}:
buildPythonPackage rec { pname = "nibe"; version = "2.2.0"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "yozik04"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-wuW8No3G+l5rG2xoqBi1lhIcqqgfrQ5CrkaEtSct38k="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ async-modbus async-timeout construct exceptiongroup tenacity ];
nativeCheckInputs = [ aresponses pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "nibe" ];
meta = with lib; { description = "Library for the communication with Nibe heatpumps"; homepage = "https://github.com/yozik04/nibe"; changelog = "https://github.com/yozik04/nibe/releases/tag/${version}"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; };}