1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "pylutron";
8 version = "0.2.10";
9
10 src = fetchPypi {
11 inherit pname version;
12 hash = "sha256-DKwjBQXC7O/8bFxq5shJJxRV3HYgBeS7tJXg4m3vQMY=";
13 };
14
15 # Project has no tests
16 doCheck = false;
17 pythonImportsCheck = [ "pylutron" ];
18
19 meta = with lib; {
20 description = "Python library for controlling a Lutron RadioRA 2 system";
21 homepage = "https://github.com/thecynic/pylutron";
22 license = with licenses; [ mit ];
23 maintainers = with maintainers; [ fab ];
24 };
25}