python310Packages.jellyfish: link to libiconv on darwin

This commit is contained in:
Theodore Ni 2023-08-26 22:55:29 -07:00
parent cefe605488
commit 5d6f8daf25
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -1,10 +1,12 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, pytest
, unicodecsv
, rustPlatform
, libiconv
}:
buildPythonPackage rec {
@ -25,6 +27,10 @@ buildPythonPackage rec {
cargoSetupHook
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}-rust-dependencies";