python312Packages.python-calamine: add missing dependency libiconv (#342563)

This commit is contained in:
Peder Bergebakken Sundt 2024-09-17 18:34:51 +02:00 committed by GitHub
commit 67c8a5983c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,22 @@
{
lib,
buildPythonPackage,
cargo,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
rustc,
packaging,
rustPlatform,
# buildInputs
libiconv,
# build-system
cargo,
poetry-core,
rustc,
# dependencies
packaging,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
@ -16,8 +24,6 @@ buildPythonPackage rec {
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "dimastbk";
repo = "python-calamine";
@ -36,6 +42,8 @@ buildPythonPackage rec {
ln -s ${./Cargo.lock} Cargo.lock
'';
buildInputs = [ libiconv ];
build-system = [
cargo
poetry-core