Merge pull request #203114 from r-ryantm/auto-update/python310Packages.flake8-import-order

python310Packages.flake8-import-order: 0.18.1 -> 0.18.2

authored by Fabian Affolter and committed by GitHub 58503867 9fec8fc2

+28 -8
+28 -8
pkgs/development/python-modules/flake8-import-order/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k, enum34, pycodestyle, pytest, flake8, pylama }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , flake8 5 + , pycodestyle 6 + , pylama 7 + , pytestCheckHook 8 + , pythonOlder 9 + }: 2 10 3 11 buildPythonPackage rec { 4 12 pname = "flake8-import-order"; 5 - version = "0.18.1"; 13 + version = "0.18.2"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 6 17 7 18 src = fetchPypi { 8 19 inherit pname version; 9 - sha256 = "14kfvsagqc6lrplvf3x58ia6x744bk8fj91wmk0hcipa8naw73d2"; 20 + hash = "sha256-4jlB+JLaPgwJ1xG6u7DHO8c1JC6bIWtyZhZ1ipINkA4="; 10 21 }; 11 22 12 - propagatedBuildInputs = [ pycodestyle ] ++ lib.optional (!isPy3k) enum34; 23 + propagatedBuildInputs = [ 24 + pycodestyle 25 + ]; 13 26 14 - checkInputs = [ pytest flake8 pycodestyle pylama ]; 27 + checkInputs = [ 28 + flake8 29 + pycodestyle 30 + pylama 31 + pytestCheckHook 32 + ]; 15 33 16 - checkPhase = '' 17 - pytest --strict 18 - ''; 34 + pythonImportsCheck = [ 35 + "flake8_import_order" 36 + ]; 19 37 20 38 meta = with lib; { 21 39 description = "Flake8 and pylama plugin that checks the ordering of import statements"; 22 40 homepage = "https://github.com/PyCQA/flake8-import-order"; 41 + changelog = "https://github.com/PyCQA/flake8-import-order/blob/${version}/CHANGELOG.rst"; 23 42 license = with licenses; [ lgpl3 mit ]; 43 + maintainers = with maintainers; [ ]; 24 44 }; 25 45 }