python.pkgs.moto: fix build
This commit is contained in:
parent
4162b7b081
commit
0d72b5da2a
@ -23,6 +23,7 @@
|
|||||||
, werkzeug
|
, werkzeug
|
||||||
, xmltodict
|
, xmltodict
|
||||||
, parameterized
|
, parameterized
|
||||||
|
, idna
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -40,6 +41,14 @@ buildPythonPackage rec {
|
|||||||
sed -i '/datetime/d' setup.py # should be taken care of by std library
|
sed -i '/datetime/d' setup.py # should be taken care of by std library
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# loosen idna upper limit
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/spulec/moto/commit/649b497f71cce95a6474a3ff6f3c9c3339efb68f.patch";
|
||||||
|
sha256 = "03qdybzlskgbdadmlcg6ayxfp821b5iaa8q2542cwkcq7msqbbqc";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aws-xray-sdk
|
aws-xray-sdk
|
||||||
boto
|
boto
|
||||||
@ -60,6 +69,7 @@ buildPythonPackage rec {
|
|||||||
sshpubkeys
|
sshpubkeys
|
||||||
werkzeug
|
werkzeug
|
||||||
xmltodict
|
xmltodict
|
||||||
|
idna
|
||||||
] ++ lib.optionals isPy27 [ backports_tempfile ];
|
] ++ lib.optionals isPy27 [ backports_tempfile ];
|
||||||
|
|
||||||
checkInputs = [ boto3 freezegun nose sure parameterized ];
|
checkInputs = [ boto3 freezegun nose sure parameterized ];
|
||||||
|
Loading…
Reference in New Issue
Block a user