diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-08 21:35:54 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-10 23:52:33 +0100 |
commit | 92b80805df8f99c4e1e4fce9838cfcfa7bc8f44f (patch) | |
tree | 1c281105adc890fd5f094fb088ac6913b7f0b49c /pkgs/development/python-modules/libcst | |
parent | eee29699f36b654236324f7f672a1d4d394bdf0d (diff) |
pythonPackages.libcst: fix recursion
Diffstat (limited to 'pkgs/development/python-modules/libcst')
-rw-r--r-- | pkgs/development/python-modules/libcst/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/libcst/default.nix b/pkgs/development/python-modules/libcst/default.nix index 00f8634e47df0..fd8c4da6381dc 100644 --- a/pkgs/development/python-modules/libcst/default.nix +++ b/pkgs/development/python-modules/libcst/default.nix @@ -3,7 +3,6 @@ , fetchFromGitHub , pythonOlder , hypothesis -, doCheck ? true , dataclasses , hypothesmith , pytestCheckHook @@ -29,12 +28,13 @@ buildPythonPackage rec { disabled = pythonOlder "3.6"; - propagatedBuildInputs = [ hypothesis typing-inspect pyyaml ] + propagatedBuildInputs = [ hypothesis typing-extensions typing-inspect pyyaml ] ++ lib.optional (pythonOlder "3.7") dataclasses; checkInputs = [ black hypothesmith isort pytestCheckHook ]; - inherit doCheck; + # can't run tests due to circular dependency on hypothesmith -> licst + doCheck = false; preCheck = '' python -m libcst.codegen.generate visitors @@ -44,8 +44,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "libcst" ]; meta = with lib; { - description = - "A Concrete Syntax Tree (CST) parser and serializer library for Python."; + description = "A Concrete Syntax Tree (CST) parser and serializer library for Python."; homepage = "https://github.com/Instagram/libcst"; license = with licenses; [ mit asl20 psfl ]; maintainers = with maintainers; [ ruuda SuperSandro2000 ]; |