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
commit 13e0fadf57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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