pythonPackages.moto: 1.3.10 -> 1.3.13

This commit is contained in:
Andrew Childs 2019-08-15 19:18:16 +09:00 committed by Frederik Rietdijk
parent e60f51e9b4
commit c23ccccd10

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
{ lib, buildPythonPackage, fetchPypi, isPy27, fetchpatch
, aws-xray-sdk
, backports_tempfile
, boto
@ -26,13 +26,21 @@
buildPythonPackage rec {
pname = "moto";
version = "1.3.10";
version = "1.3.13";
src = fetchPypi {
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 = ''
substituteInPlace setup.py \
--replace "jsondiff==1.1.2" "jsondiff~=1.1"