1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "tellcore-py"; 11 version = "1.1.3"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "erijo"; 16 repo = "tellcore-py"; 17 tag = "v${version}"; 18 hash = "sha256-AcdYMzd3Ln65PZ+weSxyR+CwXmdi2A+wSE6B/4hepE0="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "tellcore" ]; 26 27 meta = { 28 description = "Python wrapper for Telldus' home automation library"; 29 homepage = "https://github.com/erijo/tellcore-py"; 30 changelog = "https://github.com/erijo/tellcore-py/releases/tag/v${version}"; 31 license = lib.licenses.gpl3Plus; 32 maintainers = [ lib.maintainers.jamiemagee ]; 33 }; 34}