nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 aiolifx,
6}:
7
8buildPythonPackage rec {
9 pname = "aiolifx-connection";
10 version = "1.0.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 pname = "aiolifx_connection";
15 inherit version;
16 hash = "sha256:09fydp5fqqh1s0vav39mw98i1la6qcgk17gch0m5ihyl9q50ks13";
17 };
18
19 propagatedBuildInputs = [ aiolifx ];
20
21 # tests are not implemented
22 doCheck = false;
23
24 pythonImportsCheck = [ "aiolifx_connection" ];
25
26 meta = {
27 description = "Wrapper for aiolifx to connect to a single LIFX device";
28 homepage = "https://github.com/bdraco/aiolifx_connection";
29 license = lib.licenses.bsd3;
30 maintainers = with lib.maintainers; [ lukegb ];
31 };
32}