Loading pkgs/development/python-modules/flake8-import-order/default.nix +13 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, flake8, pycodestyle, pylama, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "flake8-import-order"; version = "0.19.2"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-Ezs8VUl2MeQjUHT8mKlQeLuoF4MjefIqMfCtJFW8sLI="; src = fetchFromGitHub { owner = "PyCQA"; repo = "flake8-import-order"; tag = version; hash = "sha256-mXw3+pQMr2Ut1prj9sCZc4jyErDOyWJgq6OBPU1nZxs="; }; propagatedBuildInputs = [ pycodestyle ]; build-system = [ setuptools ]; dependencies = [ pycodestyle ]; nativeCheckInputs = [ flake8 Loading @@ -32,14 +34,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "flake8_import_order" ]; meta = with lib; { meta = { description = "Flake8 and pylama plugin that checks the ordering of import statements"; homepage = "https://github.com/PyCQA/flake8-import-order"; changelog = "https://github.com/PyCQA/flake8-import-order/blob/${version}/CHANGELOG.rst"; license = with licenses; [ lgpl3 mit ]; license = lib.licenses.lgpl3Only; maintainers = [ ]; }; } Loading
pkgs/development/python-modules/flake8-import-order/default.nix +13 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, flake8, pycodestyle, pylama, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "flake8-import-order"; version = "0.19.2"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-Ezs8VUl2MeQjUHT8mKlQeLuoF4MjefIqMfCtJFW8sLI="; src = fetchFromGitHub { owner = "PyCQA"; repo = "flake8-import-order"; tag = version; hash = "sha256-mXw3+pQMr2Ut1prj9sCZc4jyErDOyWJgq6OBPU1nZxs="; }; propagatedBuildInputs = [ pycodestyle ]; build-system = [ setuptools ]; dependencies = [ pycodestyle ]; nativeCheckInputs = [ flake8 Loading @@ -32,14 +34,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "flake8_import_order" ]; meta = with lib; { meta = { description = "Flake8 and pylama plugin that checks the ordering of import statements"; homepage = "https://github.com/PyCQA/flake8-import-order"; changelog = "https://github.com/PyCQA/flake8-import-order/blob/${version}/CHANGELOG.rst"; license = with licenses; [ lgpl3 mit ]; license = lib.licenses.lgpl3Only; maintainers = [ ]; }; }