1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromBitbucket 5, freezegun 6, netifaces 7, pytest-aiohttp 8, pytestCheckHook 9, pythonOlder 10, urllib3 11}: 12 13buildPythonPackage rec { 14 pname = "pydaikin"; 15 version = "2.8.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromBitbucket { 21 owner = "mustang51"; 22 repo = pname; 23 rev = "v${version}"; 24 hash = "sha256-AZDwoq4lCThzwHI0WCzrV9Il2MHp0LKxWg/dscGw0q0="; 25 }; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 netifaces 30 urllib3 31 ]; 32 33 checkInputs = [ 34 freezegun 35 pytest-aiohttp 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ 40 "pydaikin" 41 ]; 42 43 meta = with lib; { 44 description = "Python Daikin HVAC appliances interface"; 45 homepage = "https://bitbucket.org/mustang51/pydaikin"; 46 license = with licenses; [ gpl3Only ]; 47 maintainers = with maintainers; [ fab ]; 48 }; 49}