pretix.plugins.servicefees: init at 1.13.1

This commit is contained in:
Martin Weinelt
2025-03-27 04:44:37 +01:00
parent 4604e20330
commit 0001116074
@@ -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 ];
};
}