Merge pull request #219562 from gador/octoprint-fix-flask-babel
octoprint: fix build with (flask-)babel
This commit is contained in:
commit
63b1e2d02c
@ -38,6 +38,17 @@ let
|
|||||||
nativeBuildInputs = [ ];
|
nativeBuildInputs = [ ];
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
outputs = [ "out" ];
|
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 ];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user