python3Packages.arrow: 1.2.3 -> 1.3.0
This commit is contained in:
parent
9a185f72bb
commit
daa99d5842
1 changed files with 14 additions and 7 deletions
|
@ -2,8 +2,9 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, flit-core
|
||||
, python-dateutil
|
||||
, typing-extensions
|
||||
, types-python-dateutil
|
||||
, pytestCheckHook
|
||||
, pytest-mock
|
||||
, pytz
|
||||
|
@ -12,14 +13,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "arrow";
|
||||
version = "1.2.3";
|
||||
format = "setuptools";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OTSzDKG58pI3bZ2xWxlEYIjRLsWGKbw/DaKP1V+2M6E=";
|
||||
hash = "sha256-1FQGF2SMtfiVcw8a2MgqZfLa0BZvV7dfPKVHWcTWeoU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -27,8 +28,14 @@ buildPythonPackage rec {
|
|||
sed -i "/addopts/d" tox.ini
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ python-dateutil ]
|
||||
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
types-python-dateutil
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
|
Loading…
Reference in a new issue