Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 55 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchPypi, mypy-extensions, pytestCheckHook, pythonAtLeast, pythonOlder, setuptools, six,}:
buildPythonPackage rec { pname = "pyannotate"; version = "1.2.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-BO1YBLqzgVPVmB/JLYPc9qIog0U3aFYfBX53flwFdZk="; };
build-system = [ setuptools ];
dependencies = [ six mypy-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyannotate_runtime" "pyannotate_tools" ];
disabledTestPaths = [ "pyannotate_runtime/tests/test_collect_types.py" ] ++ lib.optionals (pythonAtLeast "3.11") [ # Tests are using lib2to3 "pyannotate_tools/fixes/tests/test_annotate*.py" ];
meta = with lib; { description = "Auto-generate PEP-484 annotations"; homepage = "https://github.com/dropbox/pyannotate"; license = licenses.mit; maintainers = [ ]; mainProgram = "pyannotate"; };}