Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 51 lines 1.0 kB view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pydantic 6, pytest-aiohttp 7, pytestCheckHook 8, pythonOlder 9, setuptools 10}: 11 12buildPythonPackage rec { 13 pname = "zwave-js-server-python"; 14 version = "0.54.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.11"; 18 19 src = fetchFromGitHub { 20 owner = "home-assistant-libs"; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-FdA8GHwe/An53CqPxE6QUwXTxk3HSqLBrk1dMaVWamA="; 24 }; 25 26 nativeBuildInputs = [ 27 setuptools 28 ]; 29 30 propagatedBuildInputs = [ 31 aiohttp 32 pydantic 33 ]; 34 35 nativeCheckInputs = [ 36 pytest-aiohttp 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ 41 "zwave_js_server" 42 ]; 43 44 meta = with lib; { 45 description = "Python wrapper for zwave-js-server"; 46 homepage = "https://github.com/home-assistant-libs/zwave-js-server-python"; 47 changelog = "https://github.com/home-assistant-libs/zwave-js-server-python/releases/tag/${version}"; 48 license = with licenses; [ asl20 ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}