pretix.plugins.servicefees: init at 1.13.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user