Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, aiohttp, semver, deepmerge, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "blebox-uniapi"; version = "2.2.0"; format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "blebox"; repo = "blebox_uniapi"; rev = "refs/tags/v${version}"; hash = "sha256-cLSI6wa3gHE0QkSVVWMNpb5fyQy0TLDNSqOuGlDJGJc="; };
postPatch = '' substituteInPlace setup.py \ --replace "pytest-runner" "" '';
propagatedBuildInputs = [ aiohttp 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 ]; };}