mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.botocore: replace vendored certs
This commit is contained in:
parent
222a2527d2
commit
c110df0cce
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
awscrt,
|
||||
cacert,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
|
|
@ -29,6 +30,10 @@ buildPythonPackage rec {
|
|||
hash = "sha256-avuv1uXKMeSr3SL+BI9XW8tDCQM/dlXFn590di3S03k=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt botocore/cacert.pem
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue