Commit e9e4e359 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent ea364022
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -93,21 +93,16 @@

buildPythonPackage (finalAttrs: {
  pname = "transformers";
  version = "5.2.0";
  version = "5.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "huggingface";
    repo = "transformers";
    tag = "v${finalAttrs.version}";
    hash = "sha256-vus4Y+1QXUNqwBO1ZK0gWd+sJBPwrqWW7O2sn0EBvno=";
    hash = "sha256-5FzsPIG4dFTR2WgcZbdmVwwwY9Dkqu5aprl5uIIalD0=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace-fail "typer-slim" "typer"
  '';

  build-system = [ setuptools ];

  dependencies = [