python310Packages.rpds-py: link to libiconv on darwin

This commit is contained in:
Theodore Ni 2023-07-22 15:47:29 -07:00
parent f18b8ec8c6
commit 3837272d6b
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, cargo
, fetchPypi
@ -6,6 +7,7 @@
, pythonOlder
, rustc
, rustPlatform
, libiconv
}:
buildPythonPackage rec {
@ -34,6 +36,10 @@ buildPythonPackage rec {
rustc
];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];
nativeCheckInputs = [
pytestCheckHook
];