python311Packages.aiohttp: remove reference to dev dependencies

This commit is contained in:
Sandro Jäckel
2024-04-22 13:59:42 +02:00
committed by Martin Weinelt
parent 923c500db2
commit 57cf17d34a
@@ -5,6 +5,7 @@
, fetchFromGitHub
, substituteAll
, llhttp
, python
# build_requires
, cython
, setuptools
@@ -77,6 +78,11 @@ buildPythonPackage rec {
brotli
];
postInstall = ''
# remove source code file with reference to dev dependencies
rm $out/${python.sitePackages}/aiohttp/_cparser.pxd{,.orig}
'';
# NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info.
nativeCheckInputs = [
freezegun