Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.9.1"; 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-HWJ+VHrSwdVN+PNp5NoqmDTVqb6RJy2Sr3zlrDuSBgA="; 25 }; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 netifaces 30 urllib3 31 ]; 32 33 nativeCheckInputs = [ 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}