Merge pull request #247964 from tjni/pydantic-core

python3.pkgs.pydantic-core: add libiconv on darwin
This commit is contained in:
Weijia Wang 2023-08-09 01:57:42 +02:00 committed by GitHub
commit c6b754b514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,11 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, fetchFromGitHub
, cargo
, rustPlatform
, rustc
, libiconv
, typing-extensions
, pytestCheckHook
, hypothesis
@ -40,6 +42,10 @@ buildPythonPackage rec {
typing-extensions
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
propagatedBuildInputs = [
typing-extensions
];