From 06c4378990a48998f9f34baa318e62a422d67c5b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 16 Mar 2024 20:09:59 +0000 Subject: [PATCH 1/2] python311Packages.types-dateutil: 2.8.19.20240311 -> 2.9.0.20240316 --- pkgs/development/python-modules/types-dateutil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-dateutil/default.nix b/pkgs/development/python-modules/types-dateutil/default.nix index ff98f62dcdf6..ddcfe897c08b 100644 --- a/pkgs/development/python-modules/types-dateutil/default.nix +++ b/pkgs/development/python-modules/types-dateutil/default.nix @@ -5,13 +5,13 @@ buildPythonPackage rec { pname = "types-dateutil"; - version = "2.8.19.20240311"; + version = "2.9.0.20240316"; format = "setuptools"; src = fetchPypi { pname = "types-python-dateutil"; inherit version; - hash = "sha256-UReCJ7vUy+w13Jrf+/Wdgy8g4JhC19y4xzsWm4eAt8s="; + hash = "sha256-XS8uJAuGkF5AlE3Xh9ttqSY/Deq+8Qdt2u15c1HsAgI="; }; pythonImportsCheck = [ From f4400e005b1a77c32602b2de7b3d7bba1a9bd690 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 17 Mar 2024 08:39:50 +0100 Subject: [PATCH 2/2] python312Packages.types-dateutil: refactor --- pkgs/development/python-modules/types-dateutil/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/types-dateutil/default.nix b/pkgs/development/python-modules/types-dateutil/default.nix index ddcfe897c08b..c02934519ca8 100644 --- a/pkgs/development/python-modules/types-dateutil/default.nix +++ b/pkgs/development/python-modules/types-dateutil/default.nix @@ -1,12 +1,13 @@ { lib , buildPythonPackage , fetchPypi +, setuptools }: buildPythonPackage rec { pname = "types-dateutil"; version = "2.9.0.20240316"; - format = "setuptools"; + pyproject = true; src = fetchPypi { pname = "types-python-dateutil"; @@ -14,6 +15,10 @@ buildPythonPackage rec { hash = "sha256-XS8uJAuGkF5AlE3Xh9ttqSY/Deq+8Qdt2u15c1HsAgI="; }; + nativeBuildInputs = [ + setuptools + ]; + pythonImportsCheck = [ "dateutil-stubs" ];