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