summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-04-30 14:12:06 +0800
committerNick Cao <nickcao@nichi.co>2023-04-30 14:43:11 +0800
commit361195305b6d3477ea324913cccc07d2170a358f (patch)
tree29e4763ad1b1f836b5f535a9c54dd1b568170654
parentb4cc17e0448f5c1fa8477763c43b049338d3a9d0 (diff)
downloadnixpkgs-361195305b6d3477ea324913cccc07d2170a358f.tar
nixpkgs-361195305b6d3477ea324913cccc07d2170a358f.tar.gz
nixpkgs-361195305b6d3477ea324913cccc07d2170a358f.tar.bz2
nixpkgs-361195305b6d3477ea324913cccc07d2170a358f.tar.lz
nixpkgs-361195305b6d3477ea324913cccc07d2170a358f.tar.xz
nixpkgs-361195305b6d3477ea324913cccc07d2170a358f.tar.zst
nixpkgs-361195305b6d3477ea324913cccc07d2170a358f.zip
python3Packages.aiohttp: add setuptools to nativeBuildInputs, fix cross compilation
-rw-r--r--pkgs/development/python-modules/aiohttp/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix
index 91ab8c040fd..114077681c9 100644
--- a/pkgs/development/python-modules/aiohttp/default.nix
+++ b/pkgs/development/python-modules/aiohttp/default.nix
@@ -4,6 +4,8 @@
 , fetchPypi
 , fetchpatch
 , pythonOlder
+# build_requires
+, setuptools
 # install_requires
 , attrs
 , charset-normalizer
@@ -56,6 +58,10 @@ buildPythonPackage rec {
       --replace "charset-normalizer >=2.0, < 3.0" "charset-normalizer >=2.0, < 4.0"
   '';
 
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   propagatedBuildInputs = [
     attrs
     charset-normalizer