diff --git a/pkgs/development/python-modules/tree-sitter-grammars/default.nix b/pkgs/development/python-modules/tree-sitter-grammars/default.nix index c385aa1db3f8..8abe7bae8221 100644 --- a/pkgs/development/python-modules/tree-sitter-grammars/default.nix +++ b/pkgs/development/python-modules/tree-sitter-grammars/default.nix @@ -1,7 +1,7 @@ { lib, - stdenv, buildPythonPackage, + setuptools, pytestCheckHook, tree-sitter, symlinkJoin, @@ -27,6 +27,8 @@ in buildPythonPackage { inherit version; pname = drvPrefix; + pyproject = true; + build-system = [ setuptools ]; src = symlinkJoin { name = "${drvPrefix}-source"; @@ -118,13 +120,12 @@ buildPythonPackage { classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Topic :: Software Development :: Compilers", "Topic :: Text Processing :: Linguistic", ] requires-python = ">=3.8" - license.text = "MIT" + license = "MIT" readme = "README.md" [project.optional-dependencies]