Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 44 lines 972 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytest-asyncio, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "pypalazzetti"; 14 version = "0.1.15"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; 18 19 src = fetchFromGitHub { 20 owner = "dotvav"; 21 repo = "py-palazzetti-api"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-gqJZVlX060BMbTbkbpK6UMnM71Mr06sNHX++ObI3Y5Y="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ aiohttp ]; 29 30 nativeCheckInputs = [ 31 pytest-asyncio 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "pypalazzetti" ]; 36 37 meta = { 38 description = "Library to access and control a Palazzetti stove through a Connection Box"; 39 homepage = "https://github.com/dotvav/py-palazzetti-api"; 40 changelog = "https://github.com/dotvav/py-palazzetti-api/blob/${src.rev}/CHANGELOG.md"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ fab ]; 43 }; 44}