python3Packages.dsmr-parser: 1.5 -> 1.7.0
Diff: https://github.com/ndokter/dsmr_parser/compare/v.1.5...v1.7.0 Changelog: https://github.com/ndokter/dsmr_parser/releases/tag/v1.7.0
This commit is contained in:
@@ -3,25 +3,23 @@
|
||||
buildPythonPackage,
|
||||
dlms-cosem,
|
||||
fetchFromGitHub,
|
||||
pyserial,
|
||||
pyserial-asyncio-fast,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pytz,
|
||||
serialx,
|
||||
setuptools,
|
||||
tailer,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "dsmr-parser";
|
||||
version = "1.5";
|
||||
version = "1.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ndokter";
|
||||
repo = "dsmr_parser";
|
||||
tag = "v.${finalAttrs.version}";
|
||||
hash = "sha256-+dv9V06o1kI6pX/Bq05JmUUvW+KoqauLaWqY6xhs6PE=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-AnOnyvqmRRWYwJTeBLGgLSJT0/hkMXTmJQe8EJ6myFA=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "dlms_cosem" ];
|
||||
@@ -30,16 +28,12 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
dependencies = [
|
||||
dlms-cosem
|
||||
pyserial
|
||||
pyserial-asyncio-fast
|
||||
pytz
|
||||
serialx
|
||||
tailer
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.12") [ "test_receive_packet" ];
|
||||
|
||||
pythonImportsCheck = [ "dsmr_parser" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user