Merge pull request #180009 from gador/reorder_python_imports_3.2.1

This commit is contained in:
Sandro
2022-07-24 17:31:07 +02:00
committed by GitHub
3 changed files with 43 additions and 3 deletions
@@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "classify-imports";
version = "4.1.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "asottile";
repo = pname;
rev = "v${version}";
hash = "sha256-w/+Sf2ZVSDmFNPICJfAKzfukcznWyFBhi7hjIELtYGI=";
};
pythonImportsCheck = [
"classify_imports"
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Utilities for refactoring imports in python-like syntax";
homepage = "https://github.com/asottile/classify-imports";
license = licenses.mit;
maintainers = with maintainers; [ gador ];
};
}
@@ -4,21 +4,25 @@
, pytestCheckHook
, pythonOlder
, aspy-refactor-imports
, classify-imports
}:
buildPythonPackage rec {
pname = "reorder-python-imports";
version = "3.1.0";
version = "3.8.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "asottile";
repo = "reorder_python_imports";
rev = "v${version}";
hash = "sha256-Ge+VQjK24TqWLMQS19DBX+FFHF3irogK21orlENJx50=";
hash = "sha256-CLC9dfNSYqEBZB2fP34jpA/4cxm0HZzjo/e7Yn8XPFc=";
};
propagatedBuildInputs = [ aspy-refactor-imports ];
propagatedBuildInputs = [
aspy-refactor-imports
classify-imports
];
pythonImportsCheck = [
"reorder_python_imports"
+2
View File
@@ -1718,6 +1718,8 @@ in {
claripy = callPackage ../development/python-modules/claripy { };
classify-imports = callPackage ../development/python-modules/classify-imports { };
cld2-cffi = callPackage ../development/python-modules/cld2-cffi { };
cle = callPackage ../development/python-modules/cle { };