diff --git a/pkgs/development/python-modules/async-modbus/default.nix b/pkgs/development/python-modules/async-modbus/default.nix index dcc5a4247a6f..ce18fc2268f2 100644 --- a/pkgs/development/python-modules/async-modbus/default.nix +++ b/pkgs/development/python-modules/async-modbus/default.nix @@ -7,23 +7,20 @@ pytest-asyncio, pytest-cov-stub, pytestCheckHook, - pythonOlder, setuptools, umodbus, }: buildPythonPackage rec { pname = "async-modbus"; - version = "0.2.2"; - format = "pyproject"; - - disabled = pythonOlder "3.7"; + version = "0.2.3"; + pyproject = true; src = fetchFromGitHub { owner = "tiagocoutinho"; repo = "async_modbus"; tag = "v${version}"; - hash = "sha256-xms2OfX5bHPXswwhLhyh6HFsm1YqDwKclUirxrgL4i0="; + hash = "sha256-d4TTs3TtD/9eFdzXBaY+QeAMeRWTvsWeaxONeG0AXJU="; }; patches = [ @@ -39,9 +36,9 @@ buildPythonPackage rec { --replace '"--durations=2", "--verbose"' "" ''; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ connio umodbus ]; @@ -57,7 +54,8 @@ buildPythonPackage rec { meta = with lib; { description = "Library for Modbus communication"; homepage = "https://github.com/tiagocoutinho/async_modbus"; - license = with licenses; [ gpl3Plus ]; + changelog = "https://github.com/tiagocoutinho/async_modbus/releases/tag/${src.tag}"; + license = licenses.gpl3Plus; maintainers = with maintainers; [ fab ]; }; }