From 5a795edc67801eff7455e087d60c1940adea3233 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 15 May 2026 08:58:21 +0000 Subject: [PATCH 1/2] python3Packages.vsure: 2.6.8 -> 2.6.9 --- pkgs/development/python-modules/vsure/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vsure/default.nix b/pkgs/development/python-modules/vsure/default.nix index 34edb2635432..896ef9cd59e6 100644 --- a/pkgs/development/python-modules/vsure/default.nix +++ b/pkgs/development/python-modules/vsure/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "vsure"; - version = "2.6.8"; + version = "2.6.9"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-dz7Ud8sOIz/w9IiRgDZWDln65efgf6skNmECwg+MRw0="; + hash = "sha256-BdUQB7usj1UwMS4AewUtaWWTl1otamCviX2MF/+x9ic="; }; propagatedBuildInputs = [ From c4c504d7f3001cf64316093919a331c7eb14140c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 15 May 2026 17:38:32 +0200 Subject: [PATCH 2/2] python3Packages.vsure: modernize --- .../python-modules/vsure/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/vsure/default.nix b/pkgs/development/python-modules/vsure/default.nix index 896ef9cd59e6..65c2463df0e9 100644 --- a/pkgs/development/python-modules/vsure/default.nix +++ b/pkgs/development/python-modules/vsure/default.nix @@ -4,19 +4,22 @@ fetchPypi, click, requests, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "vsure"; version = "2.6.9"; - format = "setuptools"; + pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-BdUQB7usj1UwMS4AewUtaWWTl1otamCviX2MF/+x9ic="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ click requests ]; @@ -28,10 +31,10 @@ buildPythonPackage rec { meta = { description = "Python library for working with verisure devices"; - mainProgram = "vsure"; homepage = "https://github.com/persandstrom/python-verisure"; changelog = "https://github.com/persandstrom/python-verisure#version-history"; - license = with lib.licenses; [ mit ]; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; + mainProgram = "vsure"; }; -} +})