3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyupgrade: 2.21.0 -> 2.23.0

This commit is contained in:
Fabian Affolter 2021-07-26 22:32:28 +02:00
parent 61ac6539fc
commit 966700163b

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 ];