1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, poetry-core 6}: 7 8buildPythonPackage rec { 9 pname = "pybalboa"; 10 version = "1.0.1"; 11 format = "pyproject"; 12 13 disabled = pythonOlder "3.8"; 14 15 src = fetchFromGitHub { 16 owner = "garbled1"; 17 repo = pname; 18 rev = "refs/tags/${version}"; 19 hash = "sha256-7vjdRGnEnMf32pZwoKRxX16hxkyf0CXlncpbBJMQtfI="; 20 }; 21 22 nativeBuildInputs = [ 23 poetry-core 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "pybalboa" 31 ]; 32 33 meta = with lib; { 34 description = " Python module to interface with a Balboa Spa"; 35 homepage = "https://github.com/garbled1/pybalboa"; 36 changelog = "https://github.com/garbled1/pybalboa/releases/tag/${version}"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}