mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
awscli: pin pyyaml
This commit is contained in:
parent
c30032af77
commit
16b8612016
|
@ -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
|
||||
'';
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue