From 5f5411517af6d841991656cf67800aa3df00e388 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Jan 2024 09:13:39 +0100 Subject: [PATCH 1/2] python311Packages.types-requests: 2.31.0.10 -> 2.31.0.20240106 --- pkgs/development/python-modules/types-requests/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-requests/default.nix b/pkgs/development/python-modules/types-requests/default.nix index 557dce437d2a..b5425fd7195c 100644 --- a/pkgs/development/python-modules/types-requests/default.nix +++ b/pkgs/development/python-modules/types-requests/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "types-requests"; - version = "2.31.0.10"; + version = "2.31.0.20240106"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-3FhSp28er2Dq+oGi5Qrvo9HwFcNM8MuhMJMIZrGyKpI="; + hash = "sha256-DhxzHBfzNhjsWOAithShouzCX33IaACzbvNBOAQCxhI="; }; propagatedBuildInputs = [ From 501d404438c1724ca382d923ae5f7ad97e54d464 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Jan 2024 09:15:07 +0100 Subject: [PATCH 2/2] python311Packages.types-requests: refactor --- pkgs/development/python-modules/types-requests/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/types-requests/default.nix b/pkgs/development/python-modules/types-requests/default.nix index b5425fd7195c..42e1bcb61d24 100644 --- a/pkgs/development/python-modules/types-requests/default.nix +++ b/pkgs/development/python-modules/types-requests/default.nix @@ -1,19 +1,24 @@ { lib , buildPythonPackage , fetchPypi +, setuptools , types-urllib3 }: buildPythonPackage rec { pname = "types-requests"; version = "2.31.0.20240106"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-DhxzHBfzNhjsWOAithShouzCX33IaACzbvNBOAQCxhI="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ types-urllib3 ];