From c7ed87768cebe2eff2965b8f34e779457bbbd920 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 29 Dec 2021 18:23:25 +0100 Subject: python3Packages.typed-ast: 1.5.0 -> 1.5.1 --- .../python-modules/typed-ast/default.nix | 31 +++++++++++++--------- 1 file 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 ]; }; -- cgit v1.2.3