mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
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:
parent
5f0d280210
commit
bce9b0fde9
2 changed files with 4 additions and 11 deletions
|
@ -439,7 +439,7 @@ in
|
||||||
expires 7d;
|
expires 7d;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"^~ /media/(cachedfiles|invoices)" = {
|
"^~ (/media/(cachedfiles|invoices)|/static/(staticfiles.json|CACHE/manifest.json))" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
deny all;
|
deny all;
|
||||||
return 404;
|
return 404;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
buildNpmPackage,
|
buildNpmPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
fetchpatch2,
|
|
||||||
nodejs,
|
nodejs,
|
||||||
python3,
|
python3,
|
||||||
gettext,
|
gettext,
|
||||||
|
@ -43,13 +42,13 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
pname = "pretix";
|
pname = "pretix";
|
||||||
version = "2024.11.0";
|
version = "2025.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pretix";
|
owner = "pretix";
|
||||||
repo = "pretix";
|
repo = "pretix";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-vmk7oW9foXkZdt3XOLJDbPldX2TruJOgd8mmi5tGqNw=";
|
hash = "sha256-azJFXuoV+9qs5MJQTkc1+ZiJb6UKwEa0Ow0p31CkHqI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDeps = buildNpmPackage {
|
npmDeps = buildNpmPackage {
|
||||||
|
@ -57,7 +56,7 @@ let
|
||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
sourceRoot = "${src.name}/src/pretix/static/npm_dir";
|
sourceRoot = "${src.name}/src/pretix/static/npm_dir";
|
||||||
npmDepsHash = "sha256-4PrOrI2cykkuzob+DMeAu/GF5OMCho40G3BjCwVW/tE=";
|
npmDepsHash = "sha256-oo9fo3MjwKYA8gueJ5otIPawORaVNj/Js3y8ZuCZ4qQ=";
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
@ -79,12 +78,6 @@ python.pkgs.buildPythonApplication rec {
|
||||||
# Discover pretix.plugin entrypoints during build and add them into
|
# Discover pretix.plugin entrypoints during build and add them into
|
||||||
# INSTALLED_APPS, so that their static files are collected.
|
# INSTALLED_APPS, so that their static files are collected.
|
||||||
./plugin-build.patch
|
./plugin-build.patch
|
||||||
|
|
||||||
(fetchpatch2 {
|
|
||||||
# fix tests after 2025-01-01
|
|
||||||
url = "https://github.com/pretix/pretix/commit/5a5a551c21461d9ef36337480c9874d65a9fdba9.patch";
|
|
||||||
hash = "sha256-ZtSVI6nVlJtNrnBZ9ktIqFGtNf+oWtvNsgCWwOUwVug=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue