From bbaa9914f86f600f9ac2cdf7709e14aea94c2215 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sat, 2 Oct 2021 04:28:02 +0000 Subject: [PATCH] python38Packages.awscrt: 0.12.3 -> 0.12.4 --- pkgs/development/python-modules/awscrt/default.nix | 9 ++++----- pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/awscrt/default.nix b/pkgs/development/python-modules/awscrt/default.nix index 82e046c7b378..4b48d74c43f7 100644 --- a/pkgs/development/python-modules/awscrt/default.nix +++ b/pkgs/development/python-modules/awscrt/default.nix @@ -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; { diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 648a94ff4211..62e2e7e7beb8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -739,7 +739,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 { };