From 52dd64fb575525a611ffcab6cad352e9f32031a5 Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Tue, 20 Aug 2019 20:52:39 +0200 Subject: [PATCH] python37Packages.starlette: adding darwin.apple_sdk.frameworks.ApplicationServices --- pkgs/development/python-modules/starlette/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/starlette/default.nix b/pkgs/development/python-modules/starlette/default.nix index 3e451a03a312..756e95eb1668 100644 --- a/pkgs/development/python-modules/starlette/default.nix +++ b/pkgs/development/python-modules/starlette/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , aiofiles @@ -12,6 +13,7 @@ , python , uvicorn , isPy27 +, darwin }: buildPythonPackage rec { @@ -33,7 +35,7 @@ buildPythonPackage rec { requests ujson uvicorn - ]; + ] ++ stdenv.lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.ApplicationServices ]; checkPhase = '' ${python.interpreter} -c """