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