mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #324313 from fabaff/velbus-aio-bump
This commit is contained in:
commit
784bc5ed8c
@ -1,18 +1,20 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
aiofile,
|
||||||
backoff,
|
backoff,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
pyserial,
|
pyserial,
|
||||||
pyserial-asyncio-fast,
|
pyserial-asyncio-fast,
|
||||||
|
pytest-asyncio,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
setuptools,
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "velbus-aio";
|
pname = "velbus-aio";
|
||||||
version = "2024.5.1";
|
version = "2024.7.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -21,19 +23,27 @@ buildPythonPackage rec {
|
|||||||
owner = "Cereal2nd";
|
owner = "Cereal2nd";
|
||||||
repo = "velbus-aio";
|
repo = "velbus-aio";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-rOuw1Iw6mGoXNSqxOlBappARzSGIlii03Hd8/3jWiQg=";
|
hash = "sha256-lKCeNQkI+KxhDZ2DYZPteLxJ5J1vBahyH2S7QTYAUiQ=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
aiofile
|
||||||
backoff
|
backoff
|
||||||
pyserial
|
pyserial
|
||||||
pyserial-asyncio-fast
|
pyserial-asyncio-fast
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "velbusaio" ];
|
pythonImportsCheck = [ "velbusaio" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user