Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.3 kB view raw
1{ lib 2, aiofiles 3, aiohttp 4, async_generator 5, buildPythonPackage 6, fetchFromGitHub 7, pypubsub 8, pyserial 9, pyserial-asyncio 10, pytestCheckHook 11, pythonOlder 12, setuptools 13, voluptuous 14}: 15 16buildPythonPackage rec { 17 pname = "pyinsteon"; 18 version = "1.4.2"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.6"; 22 23 src = fetchFromGitHub { 24 owner = pname; 25 repo = pname; 26 rev = "refs/tags/${version}"; 27 hash = "sha256-5c2hcW9XSEyIMlyrn70U7tgBWdxGrtJoQkjkYzlrbKE="; 28 }; 29 30 nativeBuildInputs = [ 31 setuptools 32 ]; 33 34 propagatedBuildInputs = [ 35 aiofiles 36 aiohttp 37 pypubsub 38 pyserial 39 pyserial-asyncio 40 voluptuous 41 ]; 42 43 nativeCheckInputs = [ 44 async_generator 45 pytestCheckHook 46 ]; 47 48 pythonImportsCheck = [ 49 "pyinsteon" 50 ]; 51 52 meta = with lib; { 53 description = "Python library to support Insteon home automation projects"; 54 longDescription = '' 55 This is a Python package to interface with an Insteon Modem. It has been 56 tested to work with most USB or RS-232 serial based devices such as the 57 2413U, 2412S, 2448A7 and Hub models 2242 and 2245. 58 ''; 59 homepage = "https://github.com/pyinsteon/pyinsteon"; 60 license = with licenses; [ mit ]; 61 maintainers = with maintainers; [ fab ]; 62 }; 63}