mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
39 lines
783 B
Nix
39 lines
783 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylutron";
|
|
version = "0.2.16";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-SuG5x8GWTsCOve3jj1hrtsm37yNRHVFuFjapQafHTbA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# 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";
|
|
changelog = "https://github.com/thecynic/pylutron/releases/tag/${version}";
|
|
license = with licenses; [
|
|
mit
|
|
psfl
|
|
];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|