Merge pull request #287112 from dotlambda/dateutil-python312

python311Packages.python-dateutil: avoid DeprecationWarning on Python 3.12

authored by Sandro and committed by GitHub 4c7e5978 c0e8987b

+10
+10
pkgs/development/python-modules/dateutil/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , fetchpatch 4 5 , setuptools-scm 5 6 , six 6 7 }: ··· 13 14 inherit pname version; 14 15 hash = "sha256-ASPKzBYnrhnd88J6XeW9Z+5FhvvdZEDZdI+Ku0g9PoY="; 15 16 }; 17 + 18 + patches = [ 19 + # https://github.com/dateutil/dateutil/pull/1285 20 + (fetchpatch { 21 + url = "https://github.com/dateutil/dateutil/commit/f2293200747fb03d56c6c5997bfebeabe703576f.patch"; 22 + relative = "src"; 23 + hash = "sha256-BVEFGV/WGUz9H/8q+l62jnyN9VDnoSR71DdL+LIkb0o="; 24 + }) 25 + ]; 16 26 17 27 nativeBuildInputs = [ setuptools-scm ]; 18 28