python311Packages.python-dateutil: 2.8.2 -> 2.9.0.post0
Changelog: https://github.com/dateutil/dateutil/blob/2.9.0.post0/NEWS
This commit is contained in:
committed by
Martin Weinelt
parent
340b176a7f
commit
d20601a40d
@@ -1,28 +1,24 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, setuptools-scm
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-dateutil";
|
||||
version = "2.8.2";
|
||||
version = "2.9.0.post0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ASPKzBYnrhnd88J6XeW9Z+5FhvvdZEDZdI+Ku0g9PoY=";
|
||||
hash = "sha256-N91UII2n4c2HU4ghfV4A69QXkkn5D7ckN+kaNUWaCtM=";
|
||||
};
|
||||
|
||||
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=";
|
||||
})
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools_scm<8.0" "setuptools_scm"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
@@ -42,6 +38,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/dateutil/dateutil/blob/${version}/NEWS";
|
||||
description = "Powerful extensions to the standard datetime module";
|
||||
homepage = "https://github.com/dateutil/dateutil/";
|
||||
license = with licenses; [ asl20 bsd3 ];
|
||||
|
||||
Reference in New Issue
Block a user