Python wheel install fails: "you must give at least one requirement"

I’m trying to install this python wheel-based package: tree-sitter-languages · PyPI

My derivation fails to build with the following log:

error: builder for '/nix/store/fp2qlzxnis3x3j5l09vh7055nz3id5xz-python3.11-tree_sitter_languages-1.10.2.drv' failed with exit code 1;
       last 10 log lines:
       > patching sources
       > configuring
       > no configure script, doing nothing
       > building
       > no Makefile or custom buildPhase, doing nothing
       > installing
       > Executing pipInstallPhase
       > /build/dist /build
       > ERROR: You must give at least one requirement to install (see "pip help install")
       >
       For full logs, run 'nix log /nix/store/fp2qlzxnis3x3j5l09vh7055nz3id5xz-python3.11-tree_sitter_languages-1.10.2.drv'.
error: 1 dependencies of derivation '/nix/store/z8yzwyr6d2sy3cjbyv7k9l8313wsz2h2-nix-shell-env.drv' failed to build
error: getting status of '/home/karthink/.local/share/git/aider/.direnv/flake-profile.1385448': No such file or directory
direnv: nix-direnv: renewed cache
direnv: export ~PATH ~XDG_DATA_DIRS

Here is the derivation

with import <nixpkgs> {};
  
let
  pythonPackages = python311Packages;
in
with pythonPackages; buildPythonPackage rec {
    pname = "tree_sitter_languages";
    version = "1.10.2";
    format = "wheel";
    
    src = fetchurl {
      inherit pname version;
      url = "https://files.pythonhosted.org/packages/96/81/ab4eda8dbd3f736fcc9a508bc69232d3b9076cd46b932d9bf9d49b9a1ec9/tree_sitter_languages-1.10.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
      sha256 = "sha256-muNKwxSnFwviSZig+ZTBrIB2HY1L0SavJ+5ToCPTuEk=";
    };

    propagatedBuildInputs = [ py-tree-sitter ];
    meta = with lib; {
      homepage = "https://pypi.org/project/tree-sitter-languages/";
      description = "Binary Python wheels for all tree sitter languages";
    };
  };

Any idea what I’m doing wrong? I’m not familiar with pip’s build process so I’m not able to diagnose the error. Looking at pip help install gives me too much information.