about summary refs log tree commit diff
path: root/pkgs/development/python-modules/py-tree-sitter
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-09-17 01:44:23 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2022-09-17 13:46:07 +0200
commit9bb71c7136d5ad2d2bac0eddf3f505b373f5a13f (patch)
treea22f13635489509e44650e9ccf75ce5a0ea8024a /pkgs/development/python-modules/py-tree-sitter
parent544383852c5de6da03b09672507cb8cc8d3ad260 (diff)
python3Packages.py-tree-sitter: add setuptools to nativeBuildInputs
Diffstat (limited to 'pkgs/development/python-modules/py-tree-sitter')
-rw-r--r--pkgs/development/python-modules/py-tree-sitter/default.nix11
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; {