Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
957 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, astroid, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, setuptools-scm,}:
buildPythonPackage rec { pname = "asttokens"; version = "3.0.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-Dc2Lqo1isMHRGLOZst26PEr/Jx0Nep4NTBaBx5A1u8c="; };
build-system = [ setuptools-scm ];
nativeCheckInputs = [ astroid pytestCheckHook ];
disabledTests = [ # Test is currently failing on Hydra, works locally "test_slices" ];
disabledTestPaths = [ # incompatible with astroid 2.11.0, pins <= 2.5.3 "tests/test_astroid.py" ];
pythonImportsCheck = [ "asttokens" ];
meta = with lib; { description = "Annotate Python AST trees with source text and token information"; homepage = "https://github.com/gristlabs/asttokens"; license = licenses.asl20; maintainers = with maintainers; [ leenaars ]; };}