Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 40 lines 802 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pytest-aiohttp 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "zwave-js-server-python"; 12 version = "0.24.0"; 13 disabled = pythonOlder "3.8"; 14 15 16 src = fetchFromGitHub { 17 owner = "home-assistant-libs"; 18 repo = pname; 19 rev = version; 20 sha256 = "sha256-LHAlGWoASDiFwvy59uXl5GH5pPmMuthoo4ZrFegkCIU="; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 ]; 26 27 checkInputs = [ 28 pytest-aiohttp 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "zwave_js_server" ]; 33 34 meta = with lib; { 35 description = "Python wrapper for zwave-js-server"; 36 homepage = "https://github.com/home-assistant-libs/zwave-js-server-python"; 37 license = with licenses; [ asl20 ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}