diff options
author | Nick Cao <nickcao@nichi.co> | 2023-04-30 14:12:06 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2023-04-30 14:43:11 +0800 |
commit | 361195305b6d3477ea324913cccc07d2170a358f (patch) | |
tree | 29e4763ad1b1f836b5f535a9c54dd1b568170654 | |
parent | b4cc17e0448f5c1fa8477763c43b049338d3a9d0 (diff) | |
download | nixpkgs-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.nix | 6 |
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 |