python3Packages.pylutron: 0.4.0 -> 0.4.1 (#507858)

This commit is contained in:
Sandro
2026-04-08 13:08:18 +00:00
committed by GitHub
@@ -7,44 +7,38 @@
telnetlib3,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pylutron";
version = "0.4.0";
version = "0.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "thecynic";
repo = "pylutron";
tag = version;
hash = "sha256-y5RDwlIxmwzKihTDFZKoOJL+TPJbY05MKPUMs2hBWiw=";
tag = finalAttrs.version;
hash = "sha256-bfr0Guu4rbb50arFB6fIWPSqh1hLZY0WO9mALsf8dj0=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail TEMPLATE_VERSION ${version}
--replace-fail TEMPLATE_VERSION ${finalAttrs.version}
'';
build-system = [ setuptools ];
dependencies = [
telnetlib3
];
dependencies = [ telnetlib3 ];
pythonImportsCheck = [ "pylutron" ];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [
"tests"
];
enabledTestPaths = [ "tests" ];
meta = {
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}";
changelog = "https://github.com/thecynic/pylutron/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})