python3Packages.libcst: fix build on darwin

This commit is contained in:
Malo Bourgon 2022-04-13 16:56:38 -07:00
parent 6826bc67ff
commit 8288609ff4

View File

@ -1,8 +1,10 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, dataclasses , dataclasses
, fetchFromGitHub , fetchFromGitHub
, hypothesis , hypothesis
, libiconv
, pytestCheckHook , pytestCheckHook
, python , python
, pythonOlder , pythonOlder
@ -51,6 +53,8 @@ buildPythonPackage rec {
rustPlatform.cargoSetupHook rustPlatform.cargoSetupHook
] ++ (with rustPlatform; [ rust.cargo rust.rustc ]); ] ++ (with rustPlatform; [ rust.cargo rust.rustc ]);
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
propagatedBuildInputs = [ propagatedBuildInputs = [
hypothesis hypothesis
typing-extensions typing-extensions