From 9f86b37ce2f7f90d766ac93f3e1dca3c5c1f0423 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 26 Jan 2026 21:35:47 +0100 Subject: [PATCH 1/7] python3Packages.django-countries: 7.6.1 -> 8.2.0 https://github.com/SmileyChris/django-countries/blob/v8.2.0/CHANGES.md --- .../python-modules/django-countries/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/django-countries/default.nix b/pkgs/development/python-modules/django-countries/default.nix index 3d83eaf4dfe4..e79d314f2545 100644 --- a/pkgs/development/python-modules/django-countries/default.nix +++ b/pkgs/development/python-modules/django-countries/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, # build-system - setuptools, + uv-build, # dependencies asgiref, @@ -20,17 +20,17 @@ buildPythonPackage rec { pname = "django-countries"; - version = "7.6.1"; + version = "8.2.0"; pyproject = true; src = fetchFromGitHub { owner = "SmileyChris"; repo = "django-countries"; tag = "v${version}"; - hash = "sha256-IR9cJbDVkZrcF3Ti70mV8VeXINQDK8OpwUTWVjD4Zn0="; + hash = "sha256-MtRlZFrTlY7t0n08X0aYN5HRGZUGLHkcU1gaZCtj07Q="; }; - build-system = [ setuptools ]; + build-system = [ uv-build ]; dependencies = [ asgiref @@ -52,7 +52,7 @@ buildPythonPackage rec { forms, flag icons static files, and a country field for models. ''; homepage = "https://github.com/SmileyChris/django-countries"; - changelog = "https://github.com/SmileyChris/django-countries/blob/v${version}/CHANGES.rst"; + changelog = "https://github.com/SmileyChris/django-countries/blob/v${version}/CHANGES.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; }; From 38fcd7427b3c629246d40d382603b149c9ea29b3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 26 Jan 2026 21:56:50 +0100 Subject: [PATCH 2/7] pretix: 2025.10.1 -> 2026.1.0 https://pretix.eu/about/en/blog/20260126-release-2026-1/ --- pkgs/by-name/pr/pretix/package.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pr/pretix/package.nix b/pkgs/by-name/pr/pretix/package.nix index 7c81b57c8346..38c172057e2a 100644 --- a/pkgs/by-name/pr/pretix/package.nix +++ b/pkgs/by-name/pr/pretix/package.nix @@ -3,6 +3,7 @@ buildNpmPackage, fetchFromGitHub, fetchPypi, + libredirect, nodejs, python312, gettext, @@ -42,13 +43,13 @@ let }; pname = "pretix"; - version = "2025.10.1"; + version = "2026.1.0"; src = fetchFromGitHub { owner = "pretix"; repo = "pretix"; tag = "v${version}"; - hash = "sha256-O9HAslZ8xbmLgJi3y91M6mc1oIvJZ8nRJyFRuNorRHs="; + hash = "sha256-XS4Kqgvg3Bu5S3gFJ4fvvezCtQEA26jUa+8pSx2saNw="; }; npmDeps = buildNpmPackage { @@ -247,6 +248,7 @@ python.pkgs.buildPythonApplication rec { nativeCheckInputs = with python.pkgs; [ + libredirect.hook pytestCheckHook pytest-xdist pytest-mock @@ -271,6 +273,13 @@ python.pkgs.buildPythonApplication rec { preCheck = '' export PYTHONPATH=$(pwd)/src:$PYTHONPATH export DJANGO_SETTINGS_MODULE=tests.settings + + echo "nameserver 127.0.0.1" > resolv.conf + export NIX_REDIRECTS=/etc/resolv.conf=$(realpath resolv.conf) + ''; + + postCheck = '' + unset NIX_REDIRECTS ''; passthru = { From 383258d0f306826511fab2932205bf66662335f6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 26 Jan 2026 22:10:29 +0100 Subject: [PATCH 3/7] pretix.plugins.mollie: 2.5.0 -> 2.5.1 https://github.com/pretix/pretix-mollie/compare/v2.5.0...v2.5.1 --- pkgs/by-name/pr/pretix/plugins/mollie/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pr/pretix/plugins/mollie/package.nix b/pkgs/by-name/pr/pretix/plugins/mollie/package.nix index 037a94a8fde5..8e19abf81e22 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.5.0"; + version = "2.5.1"; pyproject = true; src = fetchFromGitHub { owner = "pretix"; repo = "pretix-mollie"; tag = "v${version}"; - hash = "sha256-lQ1y6w7zP0sy67jf5+K6584DP10LAZqo1hLsHF3H2UA="; + hash = "sha256-SpSXHPPxwI36iz5b8naD60vTomc52U84LjeeV8OnJXo="; }; build-system = [ From 92b317414b8ab4b39cdfb6e01030ba173bfd4df9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 26 Jan 2026 22:12:14 +0100 Subject: [PATCH 4/7] pretix.plugins.zugferd: 2.6.1 -> 2.6.2 https://github.com/pretix/pretix-zugferd/compare/v2.6.1...v2.6.2 --- pkgs/by-name/pr/pretix/plugins/zugferd/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pr/pretix/plugins/zugferd/package.nix b/pkgs/by-name/pr/pretix/plugins/zugferd/package.nix index 1ac076d03b3a..3380a91b0690 100644 --- a/pkgs/by-name/pr/pretix/plugins/zugferd/package.nix +++ b/pkgs/by-name/pr/pretix/plugins/zugferd/package.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "pretix-zugferd"; - version = "2.6.1"; + version = "2.6.2"; pyproject = true; src = fetchFromGitHub { owner = "pretix"; repo = "pretix-zugferd"; rev = "v${version}"; - hash = "sha256-nLpzNx/k1pJsYgMBhMkEOKfHmB46/AOzxB59cYkrGUU="; + hash = "sha256-C2Z/S3lEKmdi6fch/erjPc9evnKc69tBRTInXRgi24E="; }; postPatch = '' From 096e3c01ff10b55aef8844890d6e2ead276c6827 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 26 Jan 2026 22:24:13 +0100 Subject: [PATCH 5/7] python3Packages.onlinepayments-sdk-python3: init at 4.23.0 Dependency for pretix-worldlinedirect plugin. --- .../onlinepayments-sdk-python3/default.nix | 57 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 4 ++ 2 files changed, 61 insertions(+) create mode 100644 pkgs/development/python-modules/onlinepayments-sdk-python3/default.nix diff --git a/pkgs/development/python-modules/onlinepayments-sdk-python3/default.nix b/pkgs/development/python-modules/onlinepayments-sdk-python3/default.nix new file mode 100644 index 000000000000..b49d51be5f1d --- /dev/null +++ b/pkgs/development/python-modules/onlinepayments-sdk-python3/default.nix @@ -0,0 +1,57 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + requests, + requests-toolbelt, + mockito, + pytestCheckHook, +}: + +buildPythonPackage (finalAttrs: { + pname = "onlinepayments-sdk-python3"; + version = "4.23.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "wl-online-payments-direct"; + repo = "sdk-python3"; + rev = finalAttrs.version; + hash = "sha256-IX9kiM5ZtX4uzW+D+Bbt8535CqMtdTtv0mpDo5Swstg="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + requests + requests-toolbelt + ]; + + nativeCheckInputs = [ + mockito + pytestCheckHook + ]; + + disabledTestPaths = [ + # requires api key + "tests/integration" + ]; + + disabledTests = [ + # missing fixtures + "testConnection_request" + "testConnection_response" + ]; + + pythonImportsCheck = [ + "onlinepayments" + ]; + + meta = { + description = "SDK to communicate with the Online Payments platform using the Online Payments Server API"; + homepage = "https://github.com/wl-online-payments-direct/sdk-python3"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ hexa ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 74cebea2c223..517dd065950c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11247,6 +11247,10 @@ self: super: with self; { callPackage ../development/python-modules/online-judge-verify-helper { }; + onlinepayments-sdk-python3 = + callPackage ../development/python-modules/onlinepayments-sdk-python3 + { }; + onlykey-solo-python = callPackage ../development/python-modules/onlykey-solo-python { }; onnx = callPackage ../development/python-modules/onnx { From 95848824899ea5c2520b0755784a1611df348e85 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 27 Jan 2026 19:25:32 +0100 Subject: [PATCH 6/7] pretix.plugins.worldlinedirect: init at 1.1.0 --- .../plugins/worldlinedirect/package.nix | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/pr/pretix/plugins/worldlinedirect/package.nix diff --git a/pkgs/by-name/pr/pretix/plugins/worldlinedirect/package.nix b/pkgs/by-name/pr/pretix/plugins/worldlinedirect/package.nix new file mode 100644 index 000000000000..d2de73989ff0 --- /dev/null +++ b/pkgs/by-name/pr/pretix/plugins/worldlinedirect/package.nix @@ -0,0 +1,42 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pretix-plugin-build, + setuptools, + onlinepayments-sdk-python3, +}: + +buildPythonPackage rec { + pname = "pretix-worldlinedirect"; + version = "1.1.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pretix"; + repo = "pretix-worldlinedirect"; + rev = "v${version}"; + hash = "sha256-ofDGbRYTA2GTnVexn0dE6Iftq6+MkigOXWVR4kPUJzY="; + }; + + build-system = [ + pretix-plugin-build + setuptools + ]; + + dependencies = [ + onlinepayments-sdk-python3 + ]; + + pythonImportsCheck = [ + "pretix_payonegopay" + "pretix_worldlinedirect" + ]; + + meta = { + description = "A pretix plugin to accept payments through Worldline Direct"; + homepage = "https://github.com/pretix/pretix-worldlinedirect"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ hexa ]; + }; +} From 023a7c34cce5be07f8b5973f162e91d850d5cad2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 27 Jan 2026 19:28:30 +0100 Subject: [PATCH 7/7] pretix.plugins.payone: init at 1.4.1 --- .../pr/pretix/plugins/payone/package.nix | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/pr/pretix/plugins/payone/package.nix diff --git a/pkgs/by-name/pr/pretix/plugins/payone/package.nix b/pkgs/by-name/pr/pretix/plugins/payone/package.nix new file mode 100644 index 000000000000..02f4c23a4fd6 --- /dev/null +++ b/pkgs/by-name/pr/pretix/plugins/payone/package.nix @@ -0,0 +1,41 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pretix-plugin-build, + setuptools, + pytestCheckHook, +}: + +buildPythonPackage (finalAttrs: { + pname = "pretix-payone"; + version = "1.4.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pretix"; + repo = "pretix-payone"; + rev = "v${finalAttrs.version}"; + hash = "sha256-8DXORej+OJ65l/KGcanavHU4rabK9qTSnRPbdCidkgQ="; + }; + + build-system = [ + pretix-plugin-build + setuptools + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "pretix_payone" + ]; + + meta = { + description = "Pretix payment plugin for PAYONE"; + homepage = "https://github.com/pretix/pretix-payone"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ hexa ]; + }; +})