Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, aiohttp 4, async-timeout 5, pillow 6, fetchPypi 7, pytestCheckHook 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 = [ 34 "pyfamilyhublocal" 35 ]; 36 37 meta = with lib; { 38 description = "Module to accesse information from Samsung FamilyHub fridges locally"; 39 homepage = "https://github.com/Klathmon/python-family-hub-local"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}