1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, fetchFromGitHub 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pyeight"; 11 version = "0.3.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "mezz64"; 18 repo = "pyEight"; 19 rev = version; 20 hash = "sha256-JYmhEZQw11qPNV2jZhP+0VFb387kNom70R3C13PM7kc="; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 async-timeout 26 ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "pyeight" 33 ]; 34 35 meta = with lib; { 36 description = "Python library to interface with the Eight Sleep API"; 37 homepage = "https://github.com/mezz64/pyEight"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}