Merge pull request #168560 from malob/fix-libcst-darwin

python3Packages.libcst: fix build on darwin
This commit is contained in:
Sandro
2022-04-15 04:06:27 +02:00
committed by GitHub
@@ -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