pretix: 2024.11.0 -> 2025.1.0

20250131-release-2025-1-0/
https://github.com/pretix/pretix/compare/refs/tags/v2024.11.0...v2025.1.0
This commit is contained in:
Martin Weinelt 2025-02-02 01:28:48 +01:00
parent 5f0d280210
commit bce9b0fde9
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 4 additions and 11 deletions

View file

@ -439,7 +439,7 @@ in
expires 7d;
'';
};
"^~ /media/(cachedfiles|invoices)" = {
"^~ (/media/(cachedfiles|invoices)|/static/(staticfiles.json|CACHE/manifest.json))" = {
extraConfig = ''
deny all;
return 404;

View file

@ -3,7 +3,6 @@
buildNpmPackage,
fetchFromGitHub,
fetchPypi,
fetchpatch2,
nodejs,
python3,
gettext,
@ -43,13 +42,13 @@ let
};
pname = "pretix";
version = "2024.11.0";
version = "2025.1.0";
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix";
rev = "refs/tags/v${version}";
hash = "sha256-vmk7oW9foXkZdt3XOLJDbPldX2TruJOgd8mmi5tGqNw=";
hash = "sha256-azJFXuoV+9qs5MJQTkc1+ZiJb6UKwEa0Ow0p31CkHqI=";
};
npmDeps = buildNpmPackage {
@ -57,7 +56,7 @@ let
inherit version src;
sourceRoot = "${src.name}/src/pretix/static/npm_dir";
npmDepsHash = "sha256-4PrOrI2cykkuzob+DMeAu/GF5OMCho40G3BjCwVW/tE=";
npmDepsHash = "sha256-oo9fo3MjwKYA8gueJ5otIPawORaVNj/Js3y8ZuCZ4qQ=";
dontBuild = true;
@ -79,12 +78,6 @@ python.pkgs.buildPythonApplication rec {
# Discover pretix.plugin entrypoints during build and add them into
# INSTALLED_APPS, so that their static files are collected.
./plugin-build.patch
(fetchpatch2 {
# fix tests after 2025-01-01
url = "https://github.com/pretix/pretix/commit/5a5a551c21461d9ef36337480c9874d65a9fdba9.patch";
hash = "sha256-ZtSVI6nVlJtNrnBZ9ktIqFGtNf+oWtvNsgCWwOUwVug=";
})
];
pythonRelaxDeps = [