python3Packages.serialx: 0.8.0 -> 1.0.0 (#501108)

This commit is contained in:
Sandro
2026-03-19 22:03:07 +00:00
committed by GitHub
@@ -3,6 +3,7 @@
cargo,
fetchFromGitHub,
lib,
psutil,
pytest-asyncio,
pytest-xdist,
pytestCheckHook,
@@ -17,14 +18,14 @@
buildPythonPackage (finalAttrs: {
pname = "serialx";
version = "0.8.0";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "puddly";
repo = "serialx";
tag = "v${finalAttrs.version}";
hash = "sha256-LYK6r0wLcrnPHMd5q6EYM+19CmAwLYAmL59SWpxL+oM=";
hash = "sha256-QYeEtdG3neRRloXOW7cKVyrsGZ5FrKOXs8gfjdyjpIQ=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
@@ -51,12 +52,18 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "serialx" ];
nativeCheckInputs = [
psutil
pytest-asyncio
pytest-xdist
pytestCheckHook
socat
];
disabledTests = [
# tries to access /sys/class/tty in sandbox
"test_compat_tools_module"
];
meta = {
changelog = "https://github.com/puddly/serialx/releases/tag/${finalAttrs.src.tag}";
description = "Serial library with native async support for Windows and POSIX";