Skip to content

Commit

Permalink
Merge pull request #219562 from gador/octoprint-fix-flask-babel
Browse files Browse the repository at this point in the history
octoprint: fix build with (flask-)babel
  • Loading branch information
mweinelt authored Mar 4, 2023
2 parents 7d786aa + bf4b584 commit 63b1e2d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/applications/misc/octoprint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
});
}
)
Expand Down

0 comments on commit 63b1e2d

Please sign in to comment.