python37Packages.starlette: adding darwin.apple_sdk.frameworks.ApplicationServices
This commit is contained in:
committed by
Frederik Rietdijk
parent
f0411f998e
commit
52dd64fb57
@@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, aiofiles
|
, aiofiles
|
||||||
@@ -12,6 +13,7 @@
|
|||||||
, python
|
, python
|
||||||
, uvicorn
|
, uvicorn
|
||||||
, isPy27
|
, isPy27
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -33,7 +35,7 @@ buildPythonPackage rec {
|
|||||||
requests
|
requests
|
||||||
ujson
|
ujson
|
||||||
uvicorn
|
uvicorn
|
||||||
];
|
] ++ stdenv.lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.ApplicationServices ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} -c """
|
${python.interpreter} -c """
|
||||||
|
|||||||
Reference in New Issue
Block a user