18 buildPythonPackage rec {
23 disabled = pythonOlder "3.9";
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-MWXOxE0nxBFhkAWjy7qFPhv4AO6VjGf+fAiyaWXeiX8=";
34 # Fix tests with aiohttp 3.10+
35 url = "https://github.com/fronzbot/blinkpy/commit/e2c747b5ad295424b08ff4fb03204129155666fc.patch";
36 hash = "sha256-FapgAZcKBWqtAPjRl2uOFgnYPoWq6UU88XGLO7oCmDI=";
41 substituteInPlace pyproject.toml \
42 --replace ', "wheel~=0.40.0"' "" \
43 --replace "setuptools~=68.0" "setuptools"
46 nativeBuildInputs = [ setuptools ];
48 propagatedBuildInputs = [
62 pythonImportsCheck = [
68 "blinkpy.helpers.util"
73 description = "Python library for the Blink Camera system";
74 homepage = "https://github.com/fronzbot/blinkpy";
75 changelog = "https://github.com/fronzbot/blinkpy/blob/${src.rev}/CHANGES.rst";
76 license = licenses.mit;
77 maintainers = with maintainers; [ dotlambda ];