Merge pull request #208811 from fabaff/pykaleidescape

authored by Martin Weinelt and committed by GitHub c4294766 ec5228dc

+56 -1
+51
pkgs/development/python-modules/pykaleidescape/default.nix
···
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , dnspython 5 + , fetchFromGitHub 6 + , pytest-asyncio 7 + , pytestCheckHook 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pykaleidescape"; 13 + version = "1.0.1"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "SteveEasley"; 20 + repo = pname; 21 + rev = "refs/tags/v${version}"; 22 + hash = "sha256-KM/gtpsQ27QZz2uI1t/yVN5no0zp9LZag1duAJzK55g="; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + aiohttp 27 + dnspython 28 + ]; 29 + 30 + checkInputs = [ 31 + pytest-asyncio 32 + pytestCheckHook 33 + ]; 34 + 35 + pythonImportsCheck = [ 36 + "kaleidescape" 37 + ]; 38 + 39 + disabledTests = [ 40 + # Test requires network access 41 + "test_resolve_succeeds" 42 + ]; 43 + 44 + meta = with lib; { 45 + description = "Module for controlling Kaleidescape devices"; 46 + homepage = "https://github.com/SteveEasley/pykaleidescape"; 47 + changelog = "https://github.com/SteveEasley/pykaleidescape/releases/tag/v${version}"; 48 + license = licenses.mit; 49 + maintainers = with maintainers; [ fab ]; 50 + }; 51 + }
+3 -1
pkgs/servers/home-assistant/component-packages.nix
··· 1720 "kaiterra" = ps: with ps; [ 1721 ]; # missing inputs: kaiterra-async-client 1722 "kaleidescape" = ps: with ps; [ 1723 - ]; # missing inputs: pykaleidescape 1724 "kankun" = ps: with ps; [ 1725 ]; 1726 "keba" = ps: with ps; [ ··· 4381 "jewish_calendar" 4382 "juicenet" 4383 "justnimbus" 4384 "keenetic_ndms2" 4385 "kegtron" 4386 "keymitt_ble"
··· 1720 "kaiterra" = ps: with ps; [ 1721 ]; # missing inputs: kaiterra-async-client 1722 "kaleidescape" = ps: with ps; [ 1723 + pykaleidescape 1724 + ]; 1725 "kankun" = ps: with ps; [ 1726 ]; 1727 "keba" = ps: with ps; [ ··· 4382 "jewish_calendar" 4383 "juicenet" 4384 "justnimbus" 4385 + "kaleidescape" 4386 "keenetic_ndms2" 4387 "kegtron" 4388 "keymitt_ble"
+2
pkgs/top-level/python-packages.nix
··· 8061 8062 pykakasi = callPackage ../development/python-modules/pykakasi { }; 8063 8064 pykdl = callPackage ../development/python-modules/pykdl { }; 8065 8066 pykdtree = callPackage ../development/python-modules/pykdtree {
··· 8061 8062 pykakasi = callPackage ../development/python-modules/pykakasi { }; 8063 8064 + pykaleidescape = callPackage ../development/python-modules/pykaleidescape { }; 8065 + 8066 pykdl = callPackage ../development/python-modules/pykdl { }; 8067 8068 pykdtree = callPackage ../development/python-modules/pykdtree {