mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
python311Packages.python-dateutil: avoid DeprecationWarning on Python 3.12
This commit is contained in:
parent
faf912b086
commit
eaf159f146
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, setuptools-scm
|
||||
, six
|
||||
}:
|
||||
@ -14,6 +15,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-ASPKzBYnrhnd88J6XeW9Z+5FhvvdZEDZdI+Ku0g9PoY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/dateutil/dateutil/pull/1285
|
||||
(fetchpatch {
|
||||
url = "https://github.com/dateutil/dateutil/commit/f2293200747fb03d56c6c5997bfebeabe703576f.patch";
|
||||
relative = "src";
|
||||
hash = "sha256-BVEFGV/WGUz9H/8q+l62jnyN9VDnoSR71DdL+LIkb0o=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
Loading…
Reference in New Issue
Block a user