1{
2 lib,
3 buildPythonPackage,
4 aiohttp,
5 async-timeout,
6 pillow,
7 fetchPypi,
8 pytestCheckHook,
9 pythonOlder,
10}:
11
12buildPythonPackage rec {
13 pname = "python-family-hub-local";
14 version = "0.0.2";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.9";
18
19 src = fetchPypi {
20 inherit pname version;
21 extension = "zip";
22 hash = "sha256-bbOBlUJ4g+HOcJihEBAz3lsHR9Gn07z8st14FRFeJbc=";
23 };
24
25 propagatedBuildInputs = [
26 aiohttp
27 async-timeout
28 pillow
29 ];
30
31 # Module has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "pyfamilyhublocal" ];
35
36 meta = with lib; {
37 description = "Module to accesse information from Samsung FamilyHub fridges locally";
38 homepage = "https://github.com/Klathmon/python-family-hub-local";
39 license = licenses.asl20;
40 maintainers = with maintainers; [ fab ];
41 };
42}