python3Packages.pdoc: fix darwin

This commit is contained in:
Peder Bergebakken Sundt 2024-01-09 23:44:27 +01:00
parent 43f1e317aa
commit 628e3e2921

View File

@ -1,9 +1,11 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, rustPlatform
, cargo
, rustc
, libiconv
}:
buildPythonPackage rec {
@ -29,6 +31,10 @@ buildPythonPackage rec {
rustc
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
pythonImportsCheck = [ "pdoc_pyo3_sample_library" ];
# no tests