diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-09-17 01:44:23 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2022-09-17 13:46:07 +0200 |
commit | 9bb71c7136d5ad2d2bac0eddf3f505b373f5a13f (patch) | |
tree | a22f13635489509e44650e9ccf75ce5a0ea8024a /pkgs | |
parent | 544383852c5de6da03b09672507cb8cc8d3ad260 (diff) |
python3Packages.py-tree-sitter: add setuptools to nativeBuildInputs
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/py-tree-sitter/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/py-tree-sitter/default.nix b/pkgs/development/python-modules/py-tree-sitter/default.nix index 9d7b829869768..f087bac5c10ef 100644 --- a/pkgs/development/python-modules/py-tree-sitter/default.nix +++ b/pkgs/development/python-modules/py-tree-sitter/default.nix @@ -1,4 +1,9 @@ -{ lib, stdenv, buildPythonPackage, fetchFromGitHub }: +{ lib +, stdenv +, buildPythonPackage +, fetchFromGitHub +, setuptools +}: buildPythonPackage rec { pname = "py-tree-sitter"; @@ -13,6 +18,10 @@ buildPythonPackage rec { fetchSubmodules = true; }; + nativeBuildInputs = [ + setuptools + ]; + pythonImportsCheck = [ "tree_sitter" ]; meta = with lib; { |