8 buildPythonPackage rec {
11 format = "setuptools";
13 disabled = pythonOlder "3.6";
15 src = fetchFromGitHub {
19 hash = "sha256-GRmKw7SRrrIIb61VeB8GLhSKCmLUd54AA+GAf43vor8=";
29 # We can't use pytestCheckHook because that invokes pytest with python -m pytest
30 # which adds the current directory to sys.path at the beginning.
31 # _That_ version of the typed_ast module doesn't have the C extensions we need.
37 pythonImportsCheck = [
41 "typed_ast.conversions"
45 description = "Python AST modules with type comment support";
46 homepage = "https://github.com/python/typed_ast";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ ];