python3Packages.aiohue: 4.3.0 -> 4.4.1

This commit is contained in:
Fabian Affolter 2022-03-23 22:00:29 +01:00
parent c984213d12
commit 1925a0588b

View file

@ -1,35 +1,46 @@
{ lib { lib
, buildPythonPackage
, fetchPypi
, aiohttp , aiohttp
, asyncio-throttle , asyncio-throttle
, awesomeversion
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohue"; pname = "aiohue";
version = "4.3.0"; version = "4.4.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "home-assistant-libs";
hash = "sha256-PslmDeG/o9WAOc0FhidUNaISrlXa3rba3UEuvPVN/+A="; repo = pname;
rev = version;
hash = "sha256-zXjfPd40yYyAuuW4CmaGRvJuORyQJa+6CFQaO6RQPZo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
awesomeversion
aiohttp aiohttp
asyncio-throttle asyncio-throttle
]; ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [
"aiohue" "aiohue"
"aiohue.discovery" "aiohue.discovery"
]; ];
# Project has no tests disabledTestPaths = [
doCheck = false; # File are prefixed with test_
"examples/"
];
meta = with lib; { meta = with lib; {
description = "Python package to talk to Philips Hue"; description = "Python package to talk to Philips Hue";