pythonPackages.uamqp: fix the build on Darwin
This commit is contained in:
parent
5995755b68
commit
736f645da1
@ -1,12 +1,15 @@
|
|||||||
{ lib
|
{ CFNetwork
|
||||||
|
, Security
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
|
||||||
, cmake
|
|
||||||
, openssl
|
|
||||||
, six
|
|
||||||
, certifi
|
, certifi
|
||||||
|
, cmake
|
||||||
, enum34
|
, enum34
|
||||||
|
, fetchPypi
|
||||||
, isPy3k
|
, isPy3k
|
||||||
|
, lib
|
||||||
|
, openssl
|
||||||
|
, stdenv
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -24,6 +27,8 @@ buildPythonPackage rec {
|
|||||||
six
|
six
|
||||||
] ++ lib.optionals (!isPy3k) [
|
] ++ lib.optionals (!isPy3k) [
|
||||||
enum34
|
enum34
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
CFNetwork Security
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1138,7 +1138,9 @@ in {
|
|||||||
|
|
||||||
toggl-cli = callPackage ../development/python-modules/toggl-cli { };
|
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 { };
|
unifi = callPackage ../development/python-modules/unifi { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user