nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 56 lines 1.2 kB view raw
1{ 2 lib, 3 aiofile, 4 backoff, 5 beautifulsoup4, 6 buildPythonPackage, 7 fetchFromGitHub, 8 lxml, 9 pyserial, 10 pyserial-asyncio-fast, 11 pytest-asyncio, 12 pytestCheckHook, 13 setuptools, 14 writableTmpDirAsHomeHook, 15}: 16 17buildPythonPackage (finalAttrs: { 18 pname = "velbus-aio"; 19 version = "2026.2.0"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "Cereal2nd"; 24 repo = "velbus-aio"; 25 tag = finalAttrs.version; 26 hash = "sha256-lQl5f7O6ZMfYGleyOESSbW87RPS7eBi3YZqCAcQfLow="; 27 fetchSubmodules = true; 28 }; 29 30 build-system = [ setuptools ]; 31 32 dependencies = [ 33 aiofile 34 backoff 35 beautifulsoup4 36 lxml 37 pyserial 38 pyserial-asyncio-fast 39 ]; 40 41 nativeCheckInputs = [ 42 pytest-asyncio 43 pytestCheckHook 44 writableTmpDirAsHomeHook 45 ]; 46 47 pythonImportsCheck = [ "velbusaio" ]; 48 49 meta = { 50 description = "Python library to support the Velbus home automation system"; 51 homepage = "https://github.com/Cereal2nd/velbus-aio"; 52 changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${finalAttrs.src.tag}"; 53 license = lib.licenses.asl20; 54 maintainers = with lib.maintainers; [ fab ]; 55 }; 56})