diff --git a/pkgs/development/python-modules/libcst/default.nix b/pkgs/development/python-modules/libcst/default.nix index 86b546289bbe..ccd12e4aaae3 100644 --- a/pkgs/development/python-modules/libcst/default.nix +++ b/pkgs/development/python-modules/libcst/default.nix @@ -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