Skip to content

Commit 410cae1

Browse files
authored
python3Packages.async-modbus: 0.2.2 -> 0.2.3 (#454583)
2 parents 16eae00 + b750702 commit 410cae1

File tree

1 file changed

+7
-9
lines changed
  • pkgs/development/python-modules/async-modbus

1 file changed

+7
-9
lines changed

pkgs/development/python-modules/async-modbus/default.nix

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,20 @@
77
pytest-asyncio,
88
pytest-cov-stub,
99
pytestCheckHook,
10-
pythonOlder,
1110
setuptools,
1211
umodbus,
1312
}:
1413

1514
buildPythonPackage rec {
1615
pname = "async-modbus";
17-
version = "0.2.2";
18-
format = "pyproject";
19-
20-
disabled = pythonOlder "3.7";
16+
version = "0.2.3";
17+
pyproject = true;
2118

2219
src = fetchFromGitHub {
2320
owner = "tiagocoutinho";
2421
repo = "async_modbus";
2522
tag = "v${version}";
26-
hash = "sha256-xms2OfX5bHPXswwhLhyh6HFsm1YqDwKclUirxrgL4i0=";
23+
hash = "sha256-d4TTs3TtD/9eFdzXBaY+QeAMeRWTvsWeaxONeG0AXJU=";
2724
};
2825

2926
patches = [
@@ -39,9 +36,9 @@ buildPythonPackage rec {
3936
--replace '"--durations=2", "--verbose"' ""
4037
'';
4138

42-
nativeBuildInputs = [ setuptools ];
39+
build-system = [ setuptools ];
4340

44-
propagatedBuildInputs = [
41+
dependencies = [
4542
connio
4643
umodbus
4744
];
@@ -57,7 +54,8 @@ buildPythonPackage rec {
5754
meta = with lib; {
5855
description = "Library for Modbus communication";
5956
homepage = "https://github.com/tiagocoutinho/async_modbus";
60-
license = with licenses; [ gpl3Plus ];
57+
changelog = "https://github.com/tiagocoutinho/async_modbus/releases/tag/${src.tag}";
58+
license = licenses.gpl3Plus;
6159
maintainers = with maintainers; [ fab ];
6260
};
6361
}

0 commit comments

Comments
 (0)