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