mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.charset-normalizer: provide ast-serialize build dep
Now that mypy requires ast-serialize at build time, charset-normalizer wants it too.
This commit is contained in:
parent
db883c3f8e
commit
73599831a4
1 changed files with 5 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
isPyPy,
|
||||
ast-serialize,
|
||||
mypy,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
|
|
@ -31,7 +32,10 @@ buildPythonPackage rec {
|
|||
build-system = [
|
||||
setuptools
|
||||
]
|
||||
++ lib.optional (withMypyc) mypy;
|
||||
++ lib.optionals withMypyc [
|
||||
ast-serialize
|
||||
mypy
|
||||
];
|
||||
|
||||
env.CHARSET_NORMALIZER_USE_MYPYC = lib.optionalString withMypyc "1";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue