Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkgs/by-name/se/searxng/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ python.pkgs.toPythonModule (
pythonRelaxDeps = [
"certifi"
"flask"
"flask-babel"
"httpx-socks"
"lxml"
];
Expand Down
27 changes: 19 additions & 8 deletions pkgs/development/python-modules/flask-babel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,

# build-system
poetry-core,
Expand All @@ -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
Expand Down
Loading