diff --git a/pkgs/by-name/pr/pretix/package.nix b/pkgs/by-name/pr/pretix/package.nix index 0409dfd92e05..3dba95437a1b 100644 --- a/pkgs/by-name/pr/pretix/package.nix +++ b/pkgs/by-name/pr/pretix/package.nix @@ -42,13 +42,13 @@ let }; pname = "pretix"; - version = "2025.7.1"; + version = "2025.8.0"; src = fetchFromGitHub { owner = "pretix"; repo = "pretix"; rev = "refs/tags/v${version}"; - hash = "sha256-emPzCwViqbGqlQRYmyamhQ5y6a3g67TTYIdv6FWbGEU="; + hash = "sha256-89BAQZpXyyTg6T9hxm4EV8QHZDcD3FcnGKxAulxziyg="; }; npmDeps = buildNpmPackage { @@ -56,7 +56,7 @@ let inherit version src; sourceRoot = "${src.name}/src/pretix/static/npm_dir"; - npmDepsHash = "sha256-cvyOpEw6z0cNUdHRmyEZUoeKPMOAtC+YHYXCltbHdm0="; + npmDepsHash = "sha256-E2K9SYqRbhpQi83va8D02cwPnf51haoKv4P/ppU2m08="; dontBuild = true; @@ -85,6 +85,7 @@ python.pkgs.buildPythonApplication rec { "celery" "css-inline" "django-bootstrap3" + "django-formset-js-improved" "django-i18nfield" "django-localflavor" "django-phonenumber-field" @@ -97,6 +98,7 @@ python.pkgs.buildPythonApplication rec { "phonenumberslite" "pillow" "protobuf" + "pycparser" "pycryptodome" "pyjwt" "pypdf" @@ -127,6 +129,10 @@ python.pkgs.buildPythonApplication rec { substituteInPlace pyproject.toml \ --replace-fail '"backend"' '"setuptools.build_meta"' \ --replace-fail 'backend-path = ["_build"]' "" + + # npm ci would remove and try to reinstall node_modules + substituteInPlace src/pretix/_build.py \ + --replace-fail "npm ci" "npm install" ''; build-system = with python.pkgs; [