Merge pull request #274700 from fabaff/pyvlx-bump

python311Packages.pyvlx: 0.2.20 -> 0.2.21
This commit is contained in:
Fabian Affolter 2023-12-16 20:03:05 +01:00 committed by GitHub
commit b451c91b6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,35 @@
{ stdenv
, lib
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pyyaml
, setuptools
, typing-extensions
}:
buildPythonPackage rec {
pname = "pyvlx";
version = "0.2.20";
format = "setuptools";
version = "0.2.21";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "Julius2342";
repo = pname;
rev = version;
sha256 = "1irjix9kr6qih84gii7k1a9c67n8133gpnmwfd09550jsqdmg006";
repo = "pyvlx";
rev = "refs/tags/${version}";
hash = "sha256-t6lbpP9IwNhXpoZ9+0n9vKCuZ+azWqP7w5v0BfqbMcs=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyyaml
typing-extensions
];
nativeCheckInputs = [
@ -34,14 +41,15 @@ buildPythonPackage rec {
];
meta = with lib; {
broken = stdenv.isDarwin;
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/${version}";
license = with licenses; [ lgpl2Only ];
maintainers = with maintainers; [ fab ];
broken = stdenv.isDarwin;
};
}