1{ 2 lib, 3 bleak, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pyswitchmate"; 11 version = "0.5.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "Danielhiversen"; 16 repo = "pySwitchmate"; 17 tag = version; 18 hash = "sha256-14rjlIsSFNP2OzuRamAJw9BaA+Z5EuQBEsrD02uQdFk="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ bleak ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "switchmate" ]; 29 30 meta = { 31 description = "A library to communicate with Switchmate"; 32 homepage = "https://github.com/Danielhiversen/pySwitchmate"; 33 license = lib.licenses.mit; 34 maintainers = [ lib.maintainers.jamiemagee ]; 35 }; 36}