Merge pull request #142063 from fabaff/bump-flux-led
python3Packages.flux-led: 0.22 -> 0.24.8
This commit is contained in:
commit
846fbd1936
@ -1,23 +1,44 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ lib
|
||||||
, aiohttp, zigpy
|
, buildPythonPackage
|
||||||
, pytest, isPy27 }:
|
, fetchFromGitHub
|
||||||
|
, webcolors
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flux_led";
|
pname = "flux_led";
|
||||||
version = "0.22";
|
version = "0.24.8";
|
||||||
disabled = isPy27;
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Danielhiversen";
|
owner = "Danielhiversen";
|
||||||
repo = "flux_led";
|
repo = "flux_led";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1zgajlkhclyrqhkmivna4ha2lyvfpk5929s042gy59p7mzpkvjx7";
|
sha256 = "sha256-A4Duwa4IRDrxpPUb0yyfgoR0GsXD0ewO0cr+1bvl7/4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
webcolors
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"tests.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"flux_led"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Python library to communicate with the flux_led smart bulbs";
|
description = "Python library to communicate with the flux_led smart bulbs";
|
||||||
homepage = "https://github.com/Danielhiversen/flux_led";
|
homepage = "https://github.com/Danielhiversen/flux_led";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = with maintainers; [ colemickens ];
|
maintainers = with maintainers; [ colemickens ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user