Unverified Commit a66fb56f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.flask-babel: 4.0.0 -> 4.1.0 (#436306)

parents c4508703 ede0a86d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ python.pkgs.toPythonModule (
    pythonRelaxDeps = [
      "certifi"
      "flask"
      "flask-babel"
      "httpx-socks"
      "lxml"
    ];
+19 −8
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,

  # build-system
  poetry-core,
@@ -23,28 +24,38 @@

buildPythonPackage rec {
  pname = "flask-babel";
  version = "4.0.0";
  format = "pyproject";
  version = "4.1.0";
  pyproject = true;

  outputs = [
    "out"
    "doc"
  ];

  src = fetchFromGitHub {
    owner = "python-babel";
    repo = "flask-babel";
    tag = "v${version}";
    hash = "sha256-BAT+oupy4MCSjeZ4hFtSKMkGU9xZtc7Phnz1mIsb2Kc=";
    hash = "sha256-NcwcMLGabWrjbFZhDU1MVWpqAm0prBlqHfTdLV7EqoI=";
  };

  outputs = [
    "out"
    "doc"
  patches = [
    # Fix list-translations() ordering in tests
    # https://github.com/python-babel/flask-babel/pull/242
    (fetchpatch {
      url = "https://github.com/python-babel/flask-babel/pull/242/commits/999735d825ee2f94701da29bcf819ad70ee03499.patch";
      hash = "sha256-vhP/aSWaWpy1sVOJAcrLHJN/yrB+McWO9pkXDI9GeQ4=";
    })
  ];

  nativeBuildInputs = [
    furo
    poetry-core
    sphinxHook
  ];

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

  dependencies = [
    babel
    flask
    jinja2