mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Diff: https://github.com/Julius2342/pyvlx/compare/0.2.30...0.2.32 Changelog: https://github.com/Julius2342/pyvlx/releases/tag/0.2.32
51 lines
1 KiB
Nix
51 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
deprecated,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pyyaml,
|
|
setuptools,
|
|
setuptools-scm,
|
|
zeroconf,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "pyvlx";
|
|
version = "0.2.32";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Julius2342";
|
|
repo = "pyvlx";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-ArNWXvYZ/eZWPUvV8z/+6WsAcm5MTnKblMrUFj51JhM=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
deprecated
|
|
pyyaml
|
|
zeroconf
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pyvlx" ];
|
|
|
|
meta = {
|
|
description = "Python client to work with Velux units";
|
|
longDescription = ''
|
|
PyVLX uses the Velux KLF 200 interface to control io-Homecontrol
|
|
devices, e.g. Velux Windows.
|
|
'';
|
|
homepage = "https://github.com/Julius2342/pyvlx";
|
|
changelog = "https://github.com/Julius2342/pyvlx/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.lgpl2Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|