Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 bleak, 6 buildPythonPackage, 7 fetchFromGitHub, 8 mashumaro, 9 pytest-asyncio, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools, 13 syrupy, 14}: 15 16buildPythonPackage rec { 17 pname = "pylamarzocco"; 18 version = "2.0.11"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.12"; 22 23 src = fetchFromGitHub { 24 owner = "zweckj"; 25 repo = "pylamarzocco"; 26 tag = "v${version}"; 27 hash = "sha256-g0qhNBhcU7Dogcw9WiEk+APk2McU7woXBqgeUS9D8iQ="; 28 }; 29 30 build-system = [ setuptools ]; 31 32 dependencies = [ 33 aiohttp 34 bleak 35 mashumaro 36 ]; 37 38 nativeCheckInputs = [ 39 aioresponses 40 pytest-asyncio 41 pytestCheckHook 42 syrupy 43 ]; 44 45 pythonImportsCheck = [ "pylamarzocco" ]; 46 47 meta = with lib; { 48 description = "Library to interface with La Marzocco's cloud"; 49 homepage = "https://github.com/zweckj/pylamarzocco"; 50 changelog = "https://github.com/zweckj/pylamarzocco/releases/tag/${src.tag}"; 51 license = licenses.mit; 52 maintainers = with maintainers; [ fab ]; 53 }; 54}