diff --git a/pkgs/development/python-modules/uart-devices/default.nix b/pkgs/development/python-modules/uart-devices/default.nix index 3005eb14e7d2..c2081edc3c58 100644 --- a/pkgs/development/python-modules/uart-devices/default.nix +++ b/pkgs/development/python-modules/uart-devices/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, poetry-core, pytest-asyncio, - pythonOlder, + pytest-cov-stub, pytestCheckHook, }: @@ -13,8 +13,6 @@ buildPythonPackage rec { version = "0.1.1"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "bdraco"; repo = "uart-devices"; @@ -22,15 +20,11 @@ buildPythonPackage rec { 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 ];