nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.1 kB view raw
1{ 2 lib, 3 aioconsole, 4 aiohttp, 5 aioresponses, 6 async-timeout, 7 buildPythonPackage, 8 fetchFromGitHub, 9 pytest-asyncio, 10 pytest-mock, 11 pytestCheckHook, 12 setuptools, 13 websockets, 14}: 15 16buildPythonPackage rec { 17 pname = "whirlpool-sixth-sense"; 18 version = "1.0.3"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "abmantis"; 23 repo = "whirlpool-sixth-sense"; 24 tag = version; 25 hash = "sha256-SXa5Ccnng1McWgSWy85xCEr7odtBSJtJhjZoC/JfI/A="; 26 }; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 aioconsole 32 aiohttp 33 async-timeout 34 websockets 35 ]; 36 37 nativeCheckInputs = [ 38 aioresponses 39 pytest-asyncio 40 pytest-mock 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ "whirlpool" ]; 45 46 meta = { 47 description = "Python library for Whirlpool 6th Sense appliances"; 48 homepage = "https://github.com/abmantis/whirlpool-sixth-sense/"; 49 changelog = "https://github.com/abmantis/whirlpool-sixth-sense/releases/tag/${src.tag}"; 50 license = lib.licenses.mit; 51 maintainers = with lib.maintainers; [ fab ]; 52 }; 53}