nautilus: fix cross compilation (#373662)
[NixPkgs.git] / pkgs / development / python-modules / aiolifx-connection / default.nix
blob4c024d45a378dde8fd9e6d5b5a1f880109bfcc13
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   pythonOlder,
6   aiolifx,
7 }:
9 buildPythonPackage rec {
10   pname = "aiolifx-connection";
11   version = "1.0.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     pname = "aiolifx_connection";
18     inherit version;
19     hash = "sha256:09fydp5fqqh1s0vav39mw98i1la6qcgk17gch0m5ihyl9q50ks13";
20   };
22   propagatedBuildInputs = [ aiolifx ];
24   # tests are not implemented
25   doCheck = false;
27   pythonImportsCheck = [ "aiolifx_connection" ];
29   meta = with lib; {
30     description = "Wrapper for aiolifx to connect to a single LIFX device";
31     homepage = "https://github.com/bdraco/aiolifx_connection";
32     license = licenses.bsd3;
33     maintainers = with maintainers; [ lukegb ];
34   };