Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, setuptools, aiohttp, semver, deepmerge, jmespath, pytest-asyncio, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "blebox-uniapi"; version = "2.5.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "blebox"; repo = "blebox_uniapi"; tag = "v${version}"; hash = "sha256-johTs1AGvC6mGasK87ijhBNbHb1m36Ep9TR8XPG35d0="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail "pytest-runner" "" '';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ aiohttp jmespath semver ];
nativeCheckInputs = [ deepmerge pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "blebox_uniapi" ];
meta = with lib; { changelog = "https://github.com/blebox/blebox_uniapi/blob/v${version}/HISTORY.rst"; description = "Python API for accessing BleBox smart home devices"; homepage = "https://github.com/blebox/blebox_uniapi"; license = licenses.asl20; maintainers = with maintainers; [ dotlambda ]; };}