Unverified Commit ede0a86d authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

python313Packages.flask-babel: switch to pyproject = true, minor cleanup

parent bb70f58d
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -25,7 +25,12 @@
buildPythonPackage rec {
  pname = "flask-babel";
  version = "4.1.0";
  format = "pyproject";
  pyproject = true;

  outputs = [
    "out"
    "doc"
  ];

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

  outputs = [
    "out"
    "doc"
  ];

  patches = [
    # Fix list-translations() ordering in tests
    # https://github.com/python-babel/flask-babel/pull/242
@@ -50,11 +50,12 @@ buildPythonPackage rec {

  nativeBuildInputs = [
    furo
    poetry-core
    sphinxHook
  ];

  propagatedBuildInputs = [
  build-system = [ poetry-core ];

  dependencies = [
    babel
    flask
    jinja2