Merge pull request #233094 from mweinelt/json-stream-rs-tokenizer-darwin

python310Packages.json-stream-rs-tokenizer: fix darwin build
This commit is contained in:
Martin Weinelt 2023-05-21 14:36:04 +02:00 committed by GitHub
commit 42cde728ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,10 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, rustPlatform
, cargo
, darwin
, rustc
, setuptools-rust
, json-stream-rs-tokenizer
@ -38,6 +40,10 @@ buildPythonPackage rec {
rustc
];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.libiconv
];
# Tests depend on json-stream, which depends on this package.
# To avoid infinite recursion, we only enable tests when building passthru.tests.
doCheck = false;