Merge pull request #251717 from tjni/jellyfish

python310Packages.jellyfish: link to libiconv on darwin
This commit is contained in:
Mario Rodas 2023-08-27 02:01:45 -05:00 committed by GitHub
commit b1f55d2d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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