diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-12-29 22:58:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 22:58:19 +0100 |
commit | b9f86268b746734759b73fd6d39f1444e76c64bc (patch) | |
tree | 5ccff8ffd40ec0e6ada5a4792e714029b5f8809a | |
parent | 95b0269909b5a5f4f6e484f6335493bc33d1616f (diff) | |
parent | c7ed87768cebe2eff2965b8f34e779457bbbd920 (diff) |
Merge pull request #146698 from fabaff/bump-typed-ast
-rw-r--r-- | pkgs/development/python-modules/typed-ast/default.nix | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/typed-ast/default.nix b/pkgs/development/python-modules/typed-ast/default.nix index 05ef879b3e41..c4977ab08292 100644 --- a/pkgs/development/python-modules/typed-ast/default.nix +++ b/pkgs/development/python-modules/typed-ast/default.nix @@ -1,24 +1,24 @@ -{ buildPythonPackage, fetchFromGitHub, lib, pythonOlder, pytest }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytest +, pythonOlder +}: buildPythonPackage rec { pname = "typed-ast"; - version = "1.5.0"; - disabled = pythonOlder "3.3"; + version = "1.5.1"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "python"; repo = "typed_ast"; rev = version; - sha256 = "sha256-z3l5gMG1Jp6EI7SnGn5ABVXVBi+bK///iJBqEWn4d+s="; + hash = "sha256-qfXMT+rSf/WcWHpkg4VZXZMYj/5IKQWAKRsxQ0TRzPU="; }; - pythonImportsCheck = [ - "typed_ast" - "typed_ast.ast27" - "typed_ast.ast3" - "typed_ast.conversions" - ]; - checkInputs = [ pytest ]; @@ -34,9 +34,16 @@ buildPythonPackage rec { runHook postCheck ''; + pythonImportsCheck = [ + "typed_ast" + "typed_ast.ast27" + "typed_ast.ast3" + "typed_ast.conversions" + ]; + meta = with lib; { + description = "Python AST modules with type comment support"; homepage = "https://github.com/python/typed_ast"; - description = "Python 2 and 3 ast modules with type comment support"; license = licenses.asl20; maintainers = with maintainers; [ SuperSandro2000 ]; }; |