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
This commit is contained in:
committed by
Fabian Affolter
parent
8de7d70732
commit
db4cc957a0
@@ -4,33 +4,27 @@
|
||||
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
|
||||
];
|
||||
|
||||
@@ -39,7 +33,7 @@ buildPythonPackage rec {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user