pythonPackages.moto: 1.3.10 -> 1.3.13
This commit is contained in:
parent
e60f51e9b4
commit
c23ccccd10
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
{ lib, buildPythonPackage, fetchPypi, isPy27, fetchpatch
|
||||||
, aws-xray-sdk
|
, aws-xray-sdk
|
||||||
, backports_tempfile
|
, backports_tempfile
|
||||||
, boto
|
, boto
|
||||||
@ -26,13 +26,21 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "moto";
|
pname = "moto";
|
||||||
version = "1.3.10";
|
version = "1.3.13";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0vlq015irqqwdknk1an7qqkg1zjk18c7jd89r7zbxxfwy3bgzwwj";
|
sha256 = "0rhbjvqi1khp80gfnl3x632kwlpq3k7m8f13nidznixdpa78vm4m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Backported fix from 1.3.14.dev for compatibility with botocore >= 1.9.198.
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/spulec/moto/commit/e4a4e6183560489e98b95e815b439c7a1cf3566c.diff";
|
||||||
|
sha256 = "1fixr7riimnldiikv33z4jwjgcsccps0c6iif40x8wmpvgcfs0cb";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "jsondiff==1.1.2" "jsondiff~=1.1"
|
--replace "jsondiff==1.1.2" "jsondiff~=1.1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user