Merge pull request #140235 from r-ryantm/auto-update/python38Packages.awscrt

This commit is contained in:
Sandro 2021-10-03 14:05:01 +02:00 committed by GitHub
commit 53020b2aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -1,11 +1,10 @@
{ lib, buildPythonPackage, fetchPypi, cmake, perl, stdenv, gcc10, darwin }:
{ lib, buildPythonPackage, fetchPypi, cmake, perl, stdenv, gcc10, CoreFoundation, Security }:
buildPythonPackage rec {
pname = "awscrt";
version = "0.12.3";
version = "0.12.4";
buildInputs = lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [ CoreFoundation Security ]);
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
# Required to suppress -Werror
# https://github.com/NixOS/nixpkgs/issues/39687
@ -23,7 +22,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "441262c36b450286132fde7f110823f7ae7ae909c0f6483a0a2d56150b62f2b5";
sha256 = "6ad69336bc5277f501bd7e33f82e11db2665370c7d279496ee39fe2f369baeb2";
};
meta = with lib; {

View File

@ -741,7 +741,9 @@ in {
aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { };
awscrt = callPackage ../development/python-modules/awscrt { };
awscrt = callPackage ../development/python-modules/awscrt {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
};
awsiotpythonsdk = callPackage ../development/python-modules/awsiotpythonsdk { };