1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pythonOlder, 7 requests, 8}: 9 10buildPythonPackage rec { 11 pname = "yalesmartalarmclient"; 12 version = "0.4.3"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.11"; 16 17 src = fetchFromGitHub { 18 owner = "domwillcode"; 19 repo = "yale-smart-alarm-client"; 20 tag = "v${version}"; 21 hash = "sha256-a0rzPEixJXLBfN+kJRPYiJiHY1BKxg/mM14RO3RiVdA="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 dependencies = [ requests ]; 27 28 # Project has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "yalesmartalarmclient" ]; 32 33 meta = with lib; { 34 description = "Python module to interface with Yale Smart Alarm Systems"; 35 homepage = "https://github.com/domwillcode/yale-smart-alarm-client"; 36 changelog = "https://github.com/domwillcode/yale-smart-alarm-client/releases/tag/v${version}"; 37 license = with licenses; [ asl20 ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}