9 buildPythonPackage rec {
10 pname = "maxcube-api";
12 format = "setuptools";
13 disabled = pythonOlder "3.7";
15 src = fetchFromGitHub {
16 owner = "hackercowboy";
17 repo = "python-${pname}";
19 sha256 = "10k61gfpnqljf3p3qxr97xq7j67a9cr4ivd9v72hdni0znrbx6ym";
23 substituteInPlace setup.py --replace "license=license" "license='MIT'"
26 nativeCheckInputs = [ pytestCheckHook ];
29 "testSendRadioMsgClosesConnectionOnErrorAndRetriesIfReusingConnection"
30 "testSendRadioMsgReusesConnection"
33 pythonImportsCheck = [
39 description = "eQ-3/ELV MAX! Cube Python API";
40 homepage = "https://github.com/hackercowboy/python-maxcube-api";
41 license = licenses.mit;