From ba55780212e1c4063894de5debd326d805329f7e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Feb 2024 23:21:56 +0100 Subject: [PATCH 1/2] python311Packages.pyrisco: refactor --- pkgs/development/python-modules/pyrisco/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyrisco/default.nix b/pkgs/development/python-modules/pyrisco/default.nix index 98a02ad48e33..2f50940b2175 100644 --- a/pkgs/development/python-modules/pyrisco/default.nix +++ b/pkgs/development/python-modules/pyrisco/default.nix @@ -3,21 +3,27 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "pyrisco"; version = "0.5.8"; - format = "setuptools"; + pyproject = true; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "OnFreund"; - repo = pname; - rev = "v${version}"; + repo = "pyrisco"; + rev = "refs/tags/v${version}"; hash = "sha256-PQ1h9UVQ2DQMInxdAaLES7uDWAxwDra+YfAmz5jjV6g="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aiohttp ]; @@ -32,6 +38,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python interface to Risco alarm systems through Risco Cloud"; homepage = "https://github.com/OnFreund/pyrisco"; + changelog = "https://github.com/OnFreund/pyrisco/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; From 50438a5c54bb0527bfb22bb2b58e122f2a1aa3a7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Feb 2024 23:22:25 +0100 Subject: [PATCH 2/2] python311Packages.pyrisco: 0.5.8 -> 0.5.9 Diff: https://github.com/OnFreund/pyrisco/compare/refs/tags/v0.5.8...v0.5.9 Changelog: https://github.com/OnFreund/pyrisco/releases/tag/v0.5.9 --- pkgs/development/python-modules/pyrisco/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyrisco/default.nix b/pkgs/development/python-modules/pyrisco/default.nix index 2f50940b2175..62b23795d502 100644 --- a/pkgs/development/python-modules/pyrisco/default.nix +++ b/pkgs/development/python-modules/pyrisco/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pyrisco"; - version = "0.5.8"; + version = "0.5.9"; pyproject = true; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "OnFreund"; repo = "pyrisco"; rev = "refs/tags/v${version}"; - hash = "sha256-PQ1h9UVQ2DQMInxdAaLES7uDWAxwDra+YfAmz5jjV6g="; + hash = "sha256-qapJcYesOddXFChApFT7hvxLblUigDW40zRe6CYWx+s="; }; nativeBuildInputs = [