nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, aiohttp
5}:
6
7buildPythonPackage rec {
8 pname = "aiohue";
9 version = "2.3.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "1qxvqqsflcn263yg7r8vvfc2c2fl3rh4dkzwzh926ijnbc2sk4nm";
14 };
15
16 propagatedBuildInputs = [
17 aiohttp
18 ];
19
20 pythonImportsCheck = [
21 "aiohue"
22 "aiohue.discovery"
23 ];
24
25 # Project has no tests
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Python package to talk to Philips Hue";
30 homepage = "https://github.com/home-assistant-libs/aiohue";
31 license = with licenses; [ asl20 ];
32 maintainers = with maintainers; [ fab ];
33 };
34}