File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
pkgs/by-name/pr/pretix/plugins/servicefees Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments