pretix.plugins: migrate to auto-calling

This commit is contained in:
Martin Weinelt
2025-02-02 14:22:23 +01:00
parent f5d47da873
commit d14cc4ae04
9 changed files with 3 additions and 20 deletions
+2 -1
View File
@@ -266,8 +266,9 @@ python.pkgs.buildPythonApplication rec {
python
;
plugins = lib.recurseIntoAttrs (
python.pkgs.callPackage ./plugins {
lib.packagesFromDirectoryRecursive {
inherit (python.pkgs) callPackage;
directory = ./plugins;
}
);
tests = {
@@ -1,18 +0,0 @@
{
callPackage,
...
}:
{
mollie = callPackage ./mollie.nix { };
pages = callPackage ./pages.nix { };
passbook = callPackage ./passbook.nix { };
reluctant-stripe = callPackage ./reluctant-stripe.nix { };
stretchgoals = callPackage ./stretchgoals.nix { };
zugferd = callPackage ./zugferd.nix { };
}
@@ -30,7 +30,7 @@ buildPythonPackage rec {
patches = [
(substituteAll {
src = ./passbook-openssl.patch;
src = ./openssl.patch;
openssl = lib.getExe openssl;
})
];