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> {};
  pythonPackages = python311Packages;
with pythonPackages; buildPythonPackage rec {
    pname = "tree_sitter_languages";
    version = "1.10.2";
    format = "wheel";
    src = fetchurl {
      inherit pname version;
      url = "";
      sha256 = "sha256-muNKwxSnFwviSZig+ZTBrIB2HY1L0SavJ+5ToCPTuEk=";

    propagatedBuildInputs = [ py-tree-sitter ];
    meta = with lib; {
      homepage = "";
      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.