Daniël de Kok 2021-05-25 16:52:12 +02:00 committed by Jonathan Ringer
parent 2dc9fce8f7
commit 1202bf4227

View file

@ -49,19 +49,19 @@ let
}; };
in buildPythonPackage rec { in buildPythonPackage rec {
pname = "tokenizers"; pname = "tokenizers";
version = "0.10.1"; version = "0.10.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "huggingface"; owner = "huggingface";
repo = pname; repo = pname;
rev = "python-v${version}"; rev = "python-v${version}";
hash = "sha256-N/dKjQwHKmJnB76q8ISQ3cjuW0Z4GqGavnFFx/w9JRQ="; hash = "sha256-X7aUiJJjB2ZDlE8LbK7Pn/15SLTZbP8kb4l9ED7/xvU=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src sourceRoot; inherit src sourceRoot;
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-3ICSjtiRfLOj+PXu6mcuDoAtod5uXAcabYWTLxEgI18="; hash = "sha256-gRqxlL6q87sGC0birDhCmGF+CVbfxwOxW6Tl6+5mGoo=";
}; };
sourceRoot = "source/bindings/python"; sourceRoot = "source/bindings/python";