Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, aiohttp, asyncio-throttle, awesomeversion, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "aiohue"; version = "4.6.2"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-DzslGfKwsXXWWhbTb0apJCsnNdnUe7AbvrRT8ZnPbVU="; };
propagatedBuildInputs = [ awesomeversion aiohttp asyncio-throttle ];
nativeCheckInputs = [ pytestCheckHook ];
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 ]; };}