From 1ae85249f5b383a0fb045676862d300336652021 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 13 Apr 2021 09:16:40 +0200 Subject: [PATCH] python3Packages.pyupgrade: 2.10.0 -> 2.12.0 --- .../python-modules/pyupgrade/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyupgrade/default.nix b/pkgs/development/python-modules/pyupgrade/default.nix index 95aa57491ca8..8cd250f6e014 100644 --- a/pkgs/development/python-modules/pyupgrade/default.nix +++ b/pkgs/development/python-modules/pyupgrade/default.nix @@ -8,24 +8,26 @@ buildPythonPackage rec { pname = "pyupgrade"; - version = "2.10.0"; + version = "2.12.0"; disabled = isPy27; src = fetchFromGitHub { owner = "asottile"; repo = pname; rev = "v${version}"; - sha256 = "sha256-XYeqyyfwtS7dHLxeVvmcifW6UCOlnSMxqF1vxezBjT8="; + sha256 = "sha256-pAZszyv7jXEwtQYzEk5Zq2ULP0K2vX0y6IvR6wYsJ9c="; }; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ pytestCheckHook ]; propagatedBuildInputs = [ tokenize-rt ]; + pythonImportsCheck = [ "pyupgrade" ]; + meta = with lib; { - description = "A tool to automatically upgrade syntax for newer versions of the language"; - homepage = "https://github.com/asottile/pyupgrade"; - license = licenses.mit; + description = "Tool to automatically upgrade syntax for newer versions of the language"; + homepage = "https://github.com/asottile/pyupgrade"; + license = licenses.mit; maintainers = with maintainers; [ lovesegfault ]; }; }