python310Packages.blebox-uniapi: disable on older Python releases
This commit is contained in:
parent
7a04eea250
commit
eff6add801
@ -7,17 +7,21 @@
|
|||||||
, deepmerge
|
, deepmerge
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "blebox-uniapi";
|
pname = "blebox-uniapi";
|
||||||
version = "2.1.1";
|
version = "2.1.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "blebox";
|
owner = "blebox";
|
||||||
repo = "blebox_uniapi";
|
repo = "blebox_uniapi";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-F0zvfqbcQCgpr9//TfhUHVT5KofFSyzRKWkLw4I4gxk=";
|
hash = "sha256-F0zvfqbcQCgpr9//TfhUHVT5KofFSyzRKWkLw4I4gxk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -37,7 +41,9 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "blebox_uniapi" ];
|
pythonImportsCheck = [
|
||||||
|
"blebox_uniapi"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python API for accessing BleBox smart home devices";
|
description = "Python API for accessing BleBox smart home devices";
|
||||||
|
Loading…
Reference in New Issue
Block a user