Skip to content

Commit

Permalink
python312Packages.python-calamine: Fix Darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
malob committed Sep 16, 2024
1 parent 0256009 commit a85c622
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/python-modules/python-calamine/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
stdenv,
lib,
buildPythonPackage,
cargo,
Expand All @@ -9,6 +10,7 @@
rustc,
packaging,
rustPlatform,
libiconv,
}:

buildPythonPackage rec {
Expand Down Expand Up @@ -44,7 +46,13 @@ buildPythonPackage rec {
rustc
];

dependencies = [ packaging ];
dependencies =
[
packaging
]
++ lib.optionals stdenv.isDarwin [
libiconv
];

nativeCheckInputs = [ pytestCheckHook ];

Expand Down

0 comments on commit a85c622

Please sign in to comment.