anchor.diff:  , wheel
   , numpy
   , python
  +, datasets
   , pytestCheckHook
   , requests
   }:
  
positive.code:   };
  in rustPlatform.buildRustPackage rec {
    pname = "tokenizers";
    version = "0.9.4";
  
    src = fetchFromGitHub {
      owner = "huggingface";
      repo = pname;
      rev = "python-v${version}";
      hash = "sha256-JXoH9yfhMIFg5qDY5zrF6iWb7XKugjMfk1NxSizfaWg=";
    };
  
    cargoSha256 = "sha256-u9qitrOxJSABs0VjwHUZgmw7VTQXNbp6l8fKKE/RQ7M=";
  
    sourceRoot = "source/bindings/python";
  
  
negative.code:     pipInstallPhase
    '';
  
    preCheck = ''
      HOME=$TMPDIR
    '';
  
    disabledTests = [
      # Downloads data using the datasets module.
      "TestTrainFromIterators"
    ];
  
    meta = with lib; {
      homepage = "https://github.com/huggingface/tokenizers";
      description = "Fast State-of-the-Art Tokenizers optimized for Research and Production";
  