Merge pull request #119295 from fabaff/bump-pyupgrade

python3Packages.pyupgrade: 2.10.0 -> 2.12.0
This commit is contained in:
Sandro 2021-04-13 13:35:37 +02:00 committed by GitHub
commit 03a8919d8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,22 +8,24 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyupgrade"; pname = "pyupgrade";
version = "2.10.0"; version = "2.12.0";
disabled = isPy27; disabled = isPy27;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "asottile"; owner = "asottile";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-XYeqyyfwtS7dHLxeVvmcifW6UCOlnSMxqF1vxezBjT8="; sha256 = "sha256-pAZszyv7jXEwtQYzEk5Zq2ULP0K2vX0y6IvR6wYsJ9c=";
}; };
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ tokenize-rt ]; propagatedBuildInputs = [ tokenize-rt ];
pythonImportsCheck = [ "pyupgrade" ];
meta = with lib; { meta = with lib; {
description = "A tool to automatically upgrade syntax for newer versions of the language"; description = "Tool to automatically upgrade syntax for newer versions of the language";
homepage = "https://github.com/asottile/pyupgrade"; homepage = "https://github.com/asottile/pyupgrade";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ]; maintainers = with maintainers; [ lovesegfault ];