Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.0 kB view raw
1{ lib 2, aiohttp 3, aresponses 4, buildPythonPackage 5, fetchFromGitHub 6, poetry-core 7, pydantic 8, pytest-aiohttp 9, pytest-asyncio 10, pytest-cov 11, pytestCheckHook 12, pythonOlder 13}: 14 15buildPythonPackage rec { 16 pname = "aionotion"; 17 version = "2023.05.5"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchFromGitHub { 23 owner = "bachya"; 24 repo = pname; 25 rev = version; 26 hash = "sha256-/2sF8m5R8YXkP89bi5zR3h13r5LrFOl1OsixAcX0D4o="; 27 }; 28 29 nativeBuildInputs = [ 30 poetry-core 31 ]; 32 33 propagatedBuildInputs = [ 34 aiohttp 35 pydantic 36 ]; 37 38 nativeCheckInputs = [ 39 aresponses 40 pytest-aiohttp 41 pytest-asyncio 42 pytest-cov 43 pytestCheckHook 44 ]; 45 46 disabledTestPaths = [ 47 "examples" 48 ]; 49 50 pythonImportsCheck = [ 51 "aionotion" 52 ]; 53 54 meta = with lib; { 55 description = "Python library for Notion Home Monitoring"; 56 homepage = "https://github.com/bachya/aionotion"; 57 license = with licenses; [ mit ]; 58 maintainers = with maintainers; [ fab ]; 59 }; 60}