pythonPackages.serverlessrepo: fix build by pinning pyyaml at 3.12

This commit is contained in:
David Leung 2019-05-07 08:06:03 +08:00
parent 10b83ac7ad
commit 2da548f856
No known key found for this signature in database
GPG key ID: 5CD75B8491383836

View file

@ -1,13 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, boto3
, six
, pyyaml
, mock
, python
}:
let
py = python.override {
packageOverrides = self: super: {
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
version = "3.12";
src = oldAttrs.src.override {
inherit version;
sha256 = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab";
};
});
};
};
in
with py.pkgs;
buildPythonPackage rec {
pname = "serverlessrepo";
version = "0.1.8";