depot/third_party/nixpkgs/pkgs/development/python-modules/pylutron/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
585 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pylutron";
version = "0.2.10";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-DKwjBQXC7O/8bFxq5shJJxRV3HYgBeS7tJXg4m3vQMY=";
};
# 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 ];
};
}