15 buildPythonPackage rec {
16 pname = "blebox-uniapi";
20 disabled = pythonOlder "3.9";
22 src = fetchFromGitHub {
24 repo = "blebox_uniapi";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-johTs1AGvC6mGasK87ijhBNbHb1m36Ep9TR8XPG35d0=";
30 substituteInPlace setup.py \
31 --replace-fail "pytest-runner" ""
34 nativeBuildInputs = [ setuptools ];
36 propagatedBuildInputs = [
48 pythonImportsCheck = [ "blebox_uniapi" ];
51 changelog = "https://github.com/blebox/blebox_uniapi/blob/v${version}/HISTORY.rst";
52 description = "Python API for accessing BleBox smart home devices";
53 homepage = "https://github.com/blebox/blebox_uniapi";
54 license = licenses.asl20;
55 maintainers = with maintainers; [ dotlambda ];