From 44b0eadfaa4f197eb323a266fccd748ff12b64aa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 16 Dec 2023 14:15:52 +0100 Subject: [PATCH] python311Packages.pyvlx: 0.2.20 -> 0.2.21 Diff: Julius2342/pyvlx@pyvlx...0.2.21 Changelog: https://github.com/Julius2342/pyvlx/releases/tag/0.2.21 --- .../python-modules/pyvlx/default.nix | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pyvlx/default.nix b/pkgs/development/python-modules/pyvlx/default.nix index 02550d61a9ee..f70b12e36251 100644 --- a/pkgs/development/python-modules/pyvlx/default.nix +++ b/pkgs/development/python-modules/pyvlx/default.nix @@ -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; }; }