Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 45 lines 905 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9 setuptools-scm, 10}: 11 12buildPythonPackage rec { 13 pname = "heatzypy"; 14 version = "2.5.4"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.11"; 18 19 src = fetchFromGitHub { 20 owner = "Cyr-ius"; 21 repo = "heatzypy"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-A01e3duNQmVv9vyOs6+gF/BdevLiYi/uXSq5bKmuRao="; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 dependencies = [ aiohttp ]; 32 33 # Module has no tests 34 doCheck = false; 35 36 pythonImportsCheck = [ "heatzypy" ]; 37 38 meta = with lib; { 39 description = "Module to interact with Heatzy devices"; 40 homepage = "https://github.com/Cyr-ius/heatzypy"; 41 changelog = "https://github.com/cyr-ius/heatzypy/releases/tag/${version}"; 42 license = licenses.gpl3Plus; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}