awscli: fix the tests by patching pyyaml (#65134)

The checkPhase of the pyyaml dependency of awscli was failing due to running the tests with a newer version of libyaml.
This commit is contained in:
Wael Nasreddine 2019-07-20 00:14:05 -07:00 committed by GitHub
parent 5e811a5798
commit 784efe7816
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, python
, groff
, less
, fetchpatch
}:
let
@ -27,7 +28,11 @@ let
inherit version;
sha256 = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf";
};
doCheck = false;
# https://github.com/yaml/pyyaml/issues/298#issuecomment-511990948
patches = lib.singleton (fetchpatch {
url = "https://github.com/yaml/pyyaml/commit/c5b135fe39d41cffbdc006f28ccb2032df6005e0.patch";
sha256 = "0x1v45rkmj194c41d1nqi3ihj9z4rsy8zvpfcd8p960g1fia7fhn";
});
});
};
};