python313Packages.yeelight: 0.7.14 -> 0.7.16 (#378629)

This commit is contained in:
Nick Cao
2025-02-02 09:03:29 -05:00
committed by GitHub
@@ -3,7 +3,6 @@
async-timeout,
buildPythonPackage,
fetchFromGitLab,
fetchpatch2,
flit-core,
ifaddr,
pytestCheckHook,
@@ -12,7 +11,7 @@
buildPythonPackage rec {
pname = "yeelight";
version = "0.7.14";
version = "0.7.16";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -21,17 +20,9 @@ buildPythonPackage rec {
owner = "stavros";
repo = "python-yeelight";
rev = "refs/tags/v${version}";
hash = "sha256-BnMvRs95rsmoBa/5bp0zShgU1BBHtZzyADjbH0y1d/o=";
hash = "sha256-WLEXTDVcSpGCmfEI31cQXGf9+4EIUCkcaeaj25f4ERU=";
};
patches = [
(fetchpatch2 {
name = "remove-future-dependency.patch";
url = "https://gitlab.com/stavros/python-yeelight/-/commit/654f4f34e0246e65d8db02a107e2ab706de4806d.patch";
hash = "sha256-olKpYCzIq/E7zup40Kwzwgk5iOtCubLHo9uQDOhaByQ=";
})
];
build-system = [ flit-core ];
dependencies = [ ifaddr ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];