Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 66 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, aiohttp, asyncio-throttle, awesomeversion, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pytest-aiohttp, pytest-asyncio, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "aiohue"; version = "4.7.3"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "aiohue"; rev = "refs/tags/${version}"; hash = "sha256-uS6pyJOntjbGa9UU1g53nuzgfP6AKAzN4meHrZY6Uic="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${version}"' \ --replace-fail "--cov" "" '';
build-system = [ setuptools ];
dependencies = [ awesomeversion aiohttp asyncio-throttle ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-aiohttp ];
pythonImportsCheck = [ "aiohue" "aiohue.discovery" ];
disabledTestPaths = [ # File are prefixed with test_ "examples/" ];
meta = with lib; { description = "Python package to talk to Philips Hue"; homepage = "https://github.com/home-assistant-libs/aiohue"; changelog = "https://github.com/home-assistant-libs/aiohue/releases/tag/${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}