Unverified Commit d20c85b1 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #307496 from vytskalt/tokenizers-fix

python3Packages.tokenizers: fix cross build
parents 1af7f2fb c7a2a233
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
, buildPythonPackage
, cargo
, datasets
, huggingface-hub
, fetchFromGitHub
, fetchurl
, libiconv
@@ -11,6 +12,7 @@
, openssl
, pkg-config
, pytestCheckHook
, python
, pythonOlder
, requests
, rustPlatform
@@ -80,6 +82,7 @@ buildPythonPackage rec {
  };

  sourceRoot = "${src.name}/bindings/python";
  maturinBuildFlags = [ "--interpreter ${python.executable}" ];

  nativeBuildInputs = [
    pkg-config
@@ -105,6 +108,7 @@ buildPythonPackage rec {

  dependencies = [
    numpy
    huggingface-hub
  ];

  nativeCheckInputs = [