pythonPackages.uamqp: fix the build on Darwin

This commit is contained in:
Wael M. Nasreddine
2019-07-16 14:41:42 -07:00
parent 5995755b68
commit 736f645da1
2 changed files with 13 additions and 6 deletions

View File

@@ -1,12 +1,15 @@
{ lib
{ CFNetwork
, Security
, buildPythonPackage
, fetchPypi
, cmake
, openssl
, six
, certifi
, cmake
, enum34
, fetchPypi
, isPy3k
, lib
, openssl
, stdenv
, six
}:
buildPythonPackage rec {
@@ -24,6 +27,8 @@ buildPythonPackage rec {
six
] ++ lib.optionals (!isPy3k) [
enum34
] ++ lib.optionals stdenv.isDarwin [
CFNetwork Security
];
nativeBuildInputs = [

View File

@@ -1138,7 +1138,9 @@ in {
toggl-cli = callPackage ../development/python-modules/toggl-cli { };
uamqp = callPackage ../development/python-modules/uamqp { };
uamqp = callPackage ../development/python-modules/uamqp {
inherit (pkgs.darwin.apple_sdk.frameworks) CFNetwork Security;
};
unifi = callPackage ../development/python-modules/unifi { };