26 lines
562 B
Nix
26 lines
562 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylutron";
|
|
version = "0.2.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1q8qdy26s9hvfsh75pak7xiqjwrwsgq18p4d86dwf4dwmy5s4qj1";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|