Skip to content

Commit 0001116

Browse files
committed
pretix.plugins.servicefees: init at 1.13.1
1 parent 4604e20 commit 0001116

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
django,
6+
pretix-plugin-build,
7+
setuptools,
8+
}:
9+
10+
buildPythonPackage rec {
11+
pname = "pretix-servicefees";
12+
version = "1.13.1";
13+
pyproject = true;
14+
15+
src = fetchFromGitHub {
16+
owner = "pretix";
17+
repo = "pretix-servicefees";
18+
tag = "v${version}";
19+
hash = "sha256-oZXJd7Pj9dPfSZ1FqTxT6FlNA8cJDWIPPLS8nN+l7ZM=";
20+
};
21+
22+
build-system = [
23+
django
24+
pretix-plugin-build
25+
setuptools
26+
];
27+
28+
postBuild = ''
29+
make
30+
'';
31+
32+
doCheck = false; # no tests
33+
34+
pythonImportsCheck = [ "pretix_servicefees" ];
35+
36+
meta = with lib; {
37+
description = "Allows to charge a flat fee on all orders";
38+
homepage = "https://github.com/pretix/pretix-servicefees";
39+
license = licenses.asl20;
40+
maintainers = with maintainers; [ hexa ];
41+
};
42+
}

0 commit comments

Comments
 (0)