forked from mirrors/nixpkgs
octoprint: fix build with (flask-)babel
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
aca2797c2a
commit
bf4b584153
|
@ -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 ];
|
||||
});
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue