ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / zimports / default.nix
blob20e23afcfc016ceb745f9b46563f662cf030f76e
1 { lib
2 , isPy3k
3 , fetchFromGitHub
4 , buildPythonPackage
5 , flake8-import-order
6 , pyflakes
7 , tomli
8 , setuptools
9 , pytestCheckHook
10 , pythonOlder
13 buildPythonPackage rec {
14   pname = "zimports";
15   version = "0.6.0";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "sqlalchemyorg";
22     repo = "zimports";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-qm5mA8pCSLbkupGBo+ppHSW6uy1j/FfV3idvGQGhjqU=";
25   };
27   propagatedBuildInputs = [
28     flake8-import-order
29     pyflakes
30     setuptools
31     tomli
32   ];
34   checkInputs = [
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [
39     "zimports"
40   ];
42   meta = with lib; {
43     description = "Python import rewriter";
44     homepage = "https://github.com/sqlalchemyorg/zimports";
45     license = licenses.mit;
46     maintainers = with maintainers; [ timokau ];
47   };