Skip to content

Commit ede0a86

Browse files
python313Packages.flask-babel: switch to pyproject = true, minor cleanup
1 parent bb70f58 commit ede0a86

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

pkgs/development/python-modules/flask-babel/default.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@
2525
buildPythonPackage rec {
2626
pname = "flask-babel";
2727
version = "4.1.0";
28-
format = "pyproject";
28+
pyproject = true;
29+
30+
outputs = [
31+
"out"
32+
"doc"
33+
];
2934

3035
src = fetchFromGitHub {
3136
owner = "python-babel";
@@ -34,11 +39,6 @@ buildPythonPackage rec {
3439
hash = "sha256-NcwcMLGabWrjbFZhDU1MVWpqAm0prBlqHfTdLV7EqoI=";
3540
};
3641

37-
outputs = [
38-
"out"
39-
"doc"
40-
];
41-
4242
patches = [
4343
# Fix list-translations() ordering in tests
4444
# https://github.com/python-babel/flask-babel/pull/242
@@ -50,11 +50,12 @@ buildPythonPackage rec {
5050

5151
nativeBuildInputs = [
5252
furo
53-
poetry-core
5453
sphinxHook
5554
];
5655

57-
propagatedBuildInputs = [
56+
build-system = [ poetry-core ];
57+
58+
dependencies = [
5859
babel
5960
flask
6061
jinja2

0 commit comments

Comments
 (0)