From ecf60ecf68bcc2f2fc48109e8384f8a09538a2af Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Apr 2024 09:17:26 +0000 Subject: [PATCH 1/3] python311Packages.types-redis: 4.6.0.20240311 -> 4.6.0.20240409 --- pkgs/development/python-modules/types-redis/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-redis/default.nix b/pkgs/development/python-modules/types-redis/default.nix index 9a3685c1bb0d..13e257a67613 100644 --- a/pkgs/development/python-modules/types-redis/default.nix +++ b/pkgs/development/python-modules/types-redis/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "types-redis"; - version = "4.6.0.20240311"; + version = "4.6.0.20240409"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-4Em73/DgofjnAbZGNoESkdIb/3m/HnhQhQpEBVIkqF8="; + hash = "sha256-ziF8J5WB12nfmSxbdtYcZUJbCmeWJgSOYz5kOGjriBs="; }; propagatedBuildInputs = [ From 4673cc1e0003e5e8dc5b34e7fb43b1e0d3a9890a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Apr 2024 15:15:49 +0200 Subject: [PATCH 2/3] python311Packages.types-redis: refactor --- pkgs/development/python-modules/types-redis/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-redis/default.nix b/pkgs/development/python-modules/types-redis/default.nix index 13e257a67613..bfbb5b8bbb34 100644 --- a/pkgs/development/python-modules/types-redis/default.nix +++ b/pkgs/development/python-modules/types-redis/default.nix @@ -3,19 +3,24 @@ , fetchPypi , cryptography , types-pyopenssl +, setuptools }: buildPythonPackage rec { pname = "types-redis"; version = "4.6.0.20240409"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-ziF8J5WB12nfmSxbdtYcZUJbCmeWJgSOYz5kOGjriBs="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ cryptography types-pyopenssl ]; From 6de29df165236e618f7cff90cfef4d1a4024e653 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Apr 2024 15:16:15 +0200 Subject: [PATCH 3/3] python311Packages.types-redis: format with nixfmt --- .../python-modules/types-redis/default.nix | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/types-redis/default.nix b/pkgs/development/python-modules/types-redis/default.nix index bfbb5b8bbb34..53d38125f8f5 100644 --- a/pkgs/development/python-modules/types-redis/default.nix +++ b/pkgs/development/python-modules/types-redis/default.nix @@ -1,9 +1,10 @@ -{ lib -, buildPythonPackage -, fetchPypi -, cryptography -, types-pyopenssl -, setuptools +{ + lib, + buildPythonPackage, + fetchPypi, + cryptography, + types-pyopenssl, + setuptools, }: buildPythonPackage rec { @@ -16,9 +17,7 @@ buildPythonPackage rec { hash = "sha256-ziF8J5WB12nfmSxbdtYcZUJbCmeWJgSOYz5kOGjriBs="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ cryptography @@ -28,9 +27,7 @@ buildPythonPackage rec { # Module doesn't have tests doCheck = false; - pythonImportsCheck = [ - "redis-stubs" - ]; + pythonImportsCheck = [ "redis-stubs" ]; meta = with lib; { description = "Typing stubs for redis";