From c8ed63e8ac6828b8db1037c9db56537c122e28d0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 6 Feb 2024 23:45:10 +0100 Subject: [PATCH 1/2] python311Packages.motionblinds: 0.6.19 -> 0.6.20 Diff: https://github.com/starkillerOG/motion-blinds/compare/refs/tags/0.6.19...0.6.20 Changelog: https://github.com/starkillerOG/motion-blinds/releases/tag/0.6.20 --- pkgs/development/python-modules/motionblinds/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/motionblinds/default.nix b/pkgs/development/python-modules/motionblinds/default.nix index ef6bd75d5f97..80047154c1b3 100644 --- a/pkgs/development/python-modules/motionblinds/default.nix +++ b/pkgs/development/python-modules/motionblinds/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "motionblinds"; - version = "0.6.19"; + version = "0.6.20"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "starkillerOG"; repo = "motion-blinds"; rev = "refs/tags/${version}"; - hash = "sha256-t2Y3ASGoMZKlZzbafpAjZHeWgaWS+UsvFd5wyfmJGvE="; + hash = "sha256-Ri14GwRpORk+8RdpPnrOOfDD+sqdQp9ESlYDnaS9ln8="; }; propagatedBuildInputs = [ From 5e716b3472bf2788d11bb97a47243620284f0cb1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 6 Feb 2024 23:46:39 +0100 Subject: [PATCH 2/2] python311Packages.motionblinds: refactor --- pkgs/development/python-modules/motionblinds/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/motionblinds/default.nix b/pkgs/development/python-modules/motionblinds/default.nix index 80047154c1b3..6e0d245f0f07 100644 --- a/pkgs/development/python-modules/motionblinds/default.nix +++ b/pkgs/development/python-modules/motionblinds/default.nix @@ -3,12 +3,13 @@ , fetchFromGitHub , pycryptodomex , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "motionblinds"; version = "0.6.20"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,6 +20,10 @@ buildPythonPackage rec { hash = "sha256-Ri14GwRpORk+8RdpPnrOOfDD+sqdQp9ESlYDnaS9ln8="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ pycryptodomex ];