pyupgrade: init at 2.10.0

This commit is contained in:
Bernardo Meurer 2021-03-04 17:23:13 -08:00
parent dc517ce7fd
commit 19423fca6e
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ buildPythonPackage
, fetchFromGitHub
, isPy27
, lib
, pytestCheckHook
, tokenize-rt
}:
buildPythonPackage rec {
pname = "pyupgrade";
version = "2.10.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "asottile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-XYeqyyfwtS7dHLxeVvmcifW6UCOlnSMxqF1vxezBjT8=";
};
checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ tokenize-rt ];
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;
maintainers = with maintainers; [ lovesegfault ];
};
}

View File

@ -29430,6 +29430,8 @@ in
pyload = callPackage ../applications/networking/pyload {};
pyupgrade = with python3Packages; toPythonApplication pyupgrade;
pwntools = with python3Packages; toPythonApplication pwntools;
uae = callPackage ../misc/emulators/uae { };

View File

@ -6638,6 +6638,8 @@ in {
pyupdate = callPackage ../development/python-modules/pyupdate { };
pyupgrade = callPackage ../development/python-modules/pyupgrade { };
pyusb = callPackage ../development/python-modules/pyusb { libusb1 = pkgs.libusb1; };
pyutil = callPackage ../development/python-modules/pyutil { };