python313Packages.uart-devices: 0.1.0 -> 0.1.1

Diff: https://github.com/bdraco/uart-devices/compare/refs/tags/v0.1.0...refs/tags/v0.1.1

Changelog: https://github.com/bdraco/uart-devices/blob/v0.1.1/CHANGELOG.md

Changed files
+6 -12
pkgs
development
python-modules
uart-devices
+6 -12
pkgs/development/python-modules/uart-devices/default.nix
···
fetchFromGitHub,
poetry-core,
pytest-asyncio,
-
pythonOlder,
+
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "uart-devices";
-
version = "0.1.0";
+
version = "0.1.1";
pyproject = true;
-
disabled = pythonOlder "3.8";
-
src = fetchFromGitHub {
owner = "bdraco";
repo = "uart-devices";
tag = "v${version}";
-
hash = "sha256-rmOWyTdOwnlr8Rwsvd2oeZq79LuGVJDAkIW2/9gGrKQ=";
+
hash = "sha256-vBwQXeXw9y7eETtlC4dcqGytIgrAm7iomnvoaxhl6JI=";
};
-
postPatch = ''
-
substituteInPlace pyproject.toml \
-
--replace-fail "-Wdefault --cov=uart_devices --cov-report=term-missing:skip-covered" ""
-
'';
-
-
nativeBuildInputs = [ poetry-core ];
+
build-system = [ poetry-core ];
nativeCheckInputs = [
pytest-asyncio
+
pytest-cov-stub
pytestCheckHook
];
···
meta = with lib; {
description = "UART Devices for Linux";
homepage = "https://github.com/bdraco/uart-devices";
-
changelog = "https://github.com/bdraco/uart-devices/blob/${version}/CHANGELOG.md";
+
changelog = "https://github.com/bdraco/uart-devices/blob/${src.tag}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;