Merge pull request #131611 from fabaff/bump-pyupgrade

python3Packages.pyupgrade: 2.21.0 -> 2.23.0
This commit is contained in:
Fabian Affolter 2021-07-27 10:28:41 +02:00 committed by GitHub
commit faa339b176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,21 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, lib
, pythonOlder
, pytestCheckHook
, tokenize-rt
}:
buildPythonPackage rec {
pname = "pyupgrade";
version = "2.21.0";
disabled = isPy27;
version = "2.23.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "asottile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-W0zaziTkXReEuLhcd6jEHH/dS1YSZNiWDro+tTH7Ftg=";
sha256 = "0w1r9s3kr539vwfb7ld7jmr8q4jkr7jsnk51x50wji7jzs627a8i";
};
checkInputs = [ pytestCheckHook ];