nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 42 lines 766 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, requests 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "heatzypy"; 12 version = "2.0.4"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "Cyr-ius"; 19 repo = pname; 20 rev = version; 21 sha256 = "sha256-i5tGV9nJrLRqZwJZ3y5c65MHykz34bnr3yz+OdaQEoM="; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 requests 27 ]; 28 29 # Project has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ 33 "heatzypy" 34 ]; 35 36 meta = with lib; { 37 description = "Python module to interact with Heatzy devices"; 38 homepage = "https://github.com/Cyr-ius/heatzypy"; 39 license = licenses.gpl3Plus; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}