awscli: pin pyyaml

This commit is contained in:
Robert Schütz 2022-01-02 00:24:15 +00:00 committed by Jonathan Ringer
parent c30032af77
commit 16b8612016

View file

@ -1,5 +1,6 @@
{ lib
, python3
, fetchFromGitHub
, groff
, less
}:
@ -14,6 +15,20 @@ let
sha256 = "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9";
};
});
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
version = "5.4.1";
src = fetchFromGitHub {
owner = "yaml";
repo = "pyyaml";
rev = version;
hash = "sha256-VUqnlOF/8zSOqh6JoEYOsfQ0P4g+eYqxyFTywgCS7gM=";
};
checkPhase = ''
runHook preCheck
PYTHONPATH="tests/lib3:$PYTHONPATH" ${self.python.interpreter} -m test_all
runHook postCheck
'';
});
};
};