2021-01-12 22:23:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pylutron";
|
2021-03-03 22:17:19 +00:00
|
|
|
version = "0.2.7";
|
2021-01-12 22:23:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-03 22:17:19 +00:00
|
|
|
sha256 = "sha256-wwVTDpoRT/TIJhoRap0T01a8gmYt+vfKc+ATRs6phB4=";
|
2021-01-12 22:23:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pylutron" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for controlling a Lutron RadioRA 2 system";
|
|
|
|
homepage = "https://github.com/thecynic/pylutron";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|