python3Packages.aiolifx: fix build to work with click 8.2.x (#454382)
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
bitstring,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
ifaddr,
|
||||
inquirerpy,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
@@ -16,15 +15,17 @@ buildPythonPackage rec {
|
||||
version = "1.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-h82KPrHcWUUrQFyMy3fY6BmQFA5a4DFJdhJ6zRnKMsc=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "aiolifx";
|
||||
repo = "aiolifx";
|
||||
tag = version;
|
||||
hash = "sha256-9FTsY/VFfzLlDEjF8ueBQxr30YasdQwei1/KfHiXwMo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [ "click" ];
|
||||
|
||||
dependencies = [
|
||||
async-timeout
|
||||
bitstring
|
||||
@@ -38,12 +39,12 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "aiolifx" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Module for local communication with LIFX devices over a LAN";
|
||||
homepage = "https://github.com/aiolifx/aiolifx";
|
||||
changelog = "https://github.com/aiolifx/aiolifx/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ netixx ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ netixx ];
|
||||
mainProgram = "aiolifx";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user