python3Packages.pyupgrade: 2.10.0 -> 2.12.0
This commit is contained in:
parent
cc7a19c7ed
commit
1ae85249f5
1 changed files with 8 additions and 6 deletions
|
@ -8,22 +8,24 @@
|
|||
|
||||
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 ];
|
||||
|
||||
propagatedBuildInputs = [ tokenize-rt ];
|
||||
|
||||
pythonImportsCheck = [ "pyupgrade" ];
|
||||
|
||||
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";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lovesegfault ];
|
||||
|
|
Loading…
Reference in a new issue