Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

71 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
pretix-plugin-build,
setuptools,
# dependencies
django-localflavor,
sepaxml,
# tests
django-scopes,
pretix,
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pretix-sepadebit";
version = "2.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix-sepadebit";
tag = "v${version}";
hash = "sha256-Xnp7aic+Xf4wJzJbWqhsfMajT4AOQGQMIGIewJ5B37o=";
};
build-system = [
pretix-plugin-build
setuptools
];
dependencies = [
django-localflavor
sepaxml
];
pythonImportsCheck = [
"pretix_sepadebit"
];
nativeCheckInputs = [
django-scopes
pretix
pytest-django
pytestCheckHook
];
preCheck = ''
export DJANGO_SETTINGS_MODULE=pretix.testutils.settings
'';
disabledTests = [
# https://github.com/pretix/pretix-sepadebit/issues/69
"test_mail_context"
"test_call_mail_context"
];
meta = with lib; {
description = "Plugin to receive payments via SEPA direct debit";
homepage = "https://github.com/pretix/pretix-sepadebit";
license = licenses.asl20;
maintainers = with maintainers; [ bbenno ];
};
}