mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
python.pkgs.moto: fix build
This commit is contained in:
parent
ee34f20e8b
commit
5b313abd49
@ -11,6 +11,15 @@ buildPythonPackage rec {
|
||||
sha256 = "e6b25a32b61ba97bbc2236960ad6865ab111962a927de720c907475adff4499b";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# dateutil upper bound was just to keep compatibility with Python 2.6
|
||||
# see https://github.com/spulec/moto/pull/1519 and https://github.com/boto/botocore/pull/1402
|
||||
# regarding aws-xray-sdk: https://github.com/spulec/moto/commit/31eac49e1555c5345021a252cb0c95043197ea16
|
||||
substituteInPlace setup.py \
|
||||
--replace "python-dateutil<2.7.0" "python-dateutil<3.0.0" \
|
||||
--replace "aws-xray-sdk<0.96," "aws-xray-sdk"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aws-xray-sdk
|
||||
boto
|
||||
|
Loading…
Reference in New Issue
Block a user