diff --git a/pkgs/by-name/pr/pretix/package.nix b/pkgs/by-name/pr/pretix/package.nix index c5baa51d8dbe..f4582f124a83 100644 --- a/pkgs/by-name/pr/pretix/package.nix +++ b/pkgs/by-name/pr/pretix/package.nix @@ -52,13 +52,13 @@ let }; pname = "pretix"; - version = "2025.2.0"; + version = "2025.3.0"; src = fetchFromGitHub { owner = "pretix"; repo = "pretix"; rev = "refs/tags/v${version}"; - hash = "sha256-ZVrdkIeVUAKb4617BCcfvs0HqFmctPb7zriDJplyUns="; + hash = "sha256-D/j1RzKhRvdqMxcHg/NPZSoroN3etzh6/V38XV9W1cs="; }; npmDeps = buildNpmPackage { @@ -66,7 +66,7 @@ let inherit version src; sourceRoot = "${src.name}/src/pretix/static/npm_dir"; - npmDepsHash = "sha256-MOxOzaP6p6Q61ZuDVzbYJvMXpCQ1pzQx86Yl24yt4SQ="; + npmDepsHash = "sha256-6qjG0p7pLtTd9CBVVzoeUPv6Vdr5se1wuI5qcKJH2Os="; dontBuild = true; @@ -99,6 +99,7 @@ python.pkgs.buildPythonApplication rec { "importlib-metadata" "kombu" "markdown" + "phonenumberslite" "pillow" "protobuf" "pycryptodome" diff --git a/pkgs/by-name/pr/pretix/plugins/mollie/package.nix b/pkgs/by-name/pr/pretix/plugins/mollie/package.nix index 2fbb90af1d90..a636955082fb 100644 --- a/pkgs/by-name/pr/pretix/plugins/mollie/package.nix +++ b/pkgs/by-name/pr/pretix/plugins/mollie/package.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pretix-mollie"; - version = "2.3.0"; + version = "2.3.1"; pyproject = true; src = fetchFromGitHub { owner = "pretix"; repo = "pretix-mollie"; tag = "v${version}"; - hash = "sha256-sI4uHMACCf9HmcJUxJlkGgT70ra/bRs6XorghX99iJo="; + hash = "sha256-6VwS8yzueeZ7Yf8U98nljFlFPNVJt6ncd9Qr8nz/SWE="; }; build-system = [ diff --git a/pkgs/by-name/pr/pretix/plugins/servicefees/package.nix b/pkgs/by-name/pr/pretix/plugins/servicefees/package.nix new file mode 100644 index 000000000000..918b41d57dba --- /dev/null +++ b/pkgs/by-name/pr/pretix/plugins/servicefees/package.nix @@ -0,0 +1,42 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + django, + pretix-plugin-build, + setuptools, +}: + +buildPythonPackage rec { + pname = "pretix-servicefees"; + version = "1.13.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pretix"; + repo = "pretix-servicefees"; + tag = "v${version}"; + hash = "sha256-oZXJd7Pj9dPfSZ1FqTxT6FlNA8cJDWIPPLS8nN+l7ZM="; + }; + + build-system = [ + django + pretix-plugin-build + setuptools + ]; + + postBuild = '' + make + ''; + + doCheck = false; # no tests + + pythonImportsCheck = [ "pretix_servicefees" ]; + + meta = with lib; { + description = "Allows to charge a flat fee on all orders"; + homepage = "https://github.com/pretix/pretix-servicefees"; + license = licenses.asl20; + maintainers = with maintainers; [ hexa ]; + }; +} diff --git a/pkgs/by-name/pr/pretix/plugins/stretchgoals/package.nix b/pkgs/by-name/pr/pretix/plugins/stretchgoals/package.nix index afdb4616bcd1..1fe4127fcdb9 100644 --- a/pkgs/by-name/pr/pretix/plugins/stretchgoals/package.nix +++ b/pkgs/by-name/pr/pretix/plugins/stretchgoals/package.nix @@ -7,15 +7,15 @@ }: buildPythonPackage { - pname = "pretix-avgchart"; - version = "unstable-2023-11-27"; + pname = "pretix-stretchgoals"; + version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "rixx"; - repo = "pretix-avgchart"; - rev = "219816c7ec523a5c23778523b2616ac0c835cb3a"; - hash = "sha256-1V/0PUvStgQeBQ0v6GoofAgyPmWs3RD+v5ekmAO9vFU="; + repo = "pretix-stretchgoals"; + rev = "177238920a863f71cf03f174e2841f5b630574e9"; + hash = "sha256-Sbbxg6viRdALjZwqEmN2Js/qbMShe5xMg00jUccnhsA="; }; build-system = [ @@ -31,7 +31,7 @@ buildPythonPackage { meta = with lib; { description = "Display the average ticket sales price over time"; - homepage = "https://github.com/rixx/pretix-avgchart"; + homepage = "https://github.com/rixx/pretix-stretchgoals"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; };