13 buildPythonPackage rec {
16 format = "setuptools";
18 # upstream technically support 3.7 through 3.9, but 3.10 happens to work while 3.11 breaks with an import error
19 disabled = pythonOlder "3.7" || pythonAtLeast "3.11";
21 src = fetchFromGitHub {
22 owner = "sqlalchemyorg";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-+sDvl8z0O0cZyS1oZgt924hlOkYeHiStpXL9y9+JZ5I=";
28 propagatedBuildInputs = [
39 pythonImportsCheck = [
44 description = "Python import rewriter";
45 homepage = "https://github.com/sqlalchemyorg/zimports";
46 license = licenses.mit;
47 maintainers = with maintainers; [ timokau ];