Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, setuptools, aiohttp, deepmerge, jmespath, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "blebox-uniapi"; version = "2.5.9"; pyproject = true;
src = fetchFromGitHub { owner = "blebox"; repo = "blebox_uniapi"; tag = "v${finalAttrs.version}"; hash = "sha256-DQccDHId+R9nokzbJ09PPu6vZ34rQEIIHffD3IvroQk="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail "pytest-runner" "" '';
build-system = [ setuptools ];
dependencies = [ aiohttp jmespath ];
nativeCheckInputs = [ deepmerge pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "blebox_uniapi" ];
meta = { changelog = "https://github.com/blebox/blebox_uniapi/blob/${finalAttrs.src.tag}/HISTORY.rst"; description = "Python API for accessing BleBox smart home devices"; homepage = "https://github.com/blebox/blebox_uniapi"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; };})