Fix mypy dependencies
This commit is contained in:
parent
5f14fab320
commit
cf19b5725f
5 changed files with 76 additions and 10 deletions
|
|
@ -14,13 +14,16 @@
|
|||
which,
|
||||
time,
|
||||
readline,
|
||||
# Python dependencies for mycpp
|
||||
mypy-extensions ? callPackage ./mypy-extensions-0.4.4.nix { python3 = python310; },
|
||||
typed-ast ? callPackage ./typed-ast-1.5.5.nix { python3 = python310; },
|
||||
mypy-for-mycpp ? callPackage ./mypy-0.780.nix {
|
||||
python3 = python310;
|
||||
inherit mypy-extensions typed-ast;
|
||||
},
|
||||
}:
|
||||
|
||||
let
|
||||
# mypy 0.780 is the last version with --py2 support
|
||||
# built without mypyc so mycpp can extend its classes
|
||||
mypy-for-mycpp = callPackage ./mypy-0.780.nix { python3 = python310; };
|
||||
|
||||
python = python310.withPackages (ps: [
|
||||
mypy-for-mycpp
|
||||
ps.typing-extensions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue