Merge pull request #219562 from gador/octoprint-fix-flask-babel

octoprint: fix build with (flask-)babel
This commit is contained in:
Martin Weinelt 2023-03-04 22:10:24 +00:00 committed by GitHub
commit 63b1e2d02c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,17 @@ let
nativeBuildInputs = [ ];
format = "setuptools";
outputs = [ "out" ];
patches = [ ];
});
# downgrade needed for flask-babel 2.0.0
babel = super.babel.overridePythonAttrs (oldAttrs: rec {
version = "2.11.0";
src = super.fetchPypi {
pname = "Babel";
inherit version;
hash = "sha256-XvSzImsBgN7d7UIpZRyLDho6aig31FoHMnLzE+TPl/Y=";
};
propagatedBuildInputs = [ self.pytz ];
});
}
)