nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 796 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 django, 6 pretix-plugin-build, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pretix-servicefees"; 12 version = "1.15.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "pretix"; 17 repo = "pretix-servicefees"; 18 tag = "v${version}"; 19 hash = "sha256-oxuxlwNYJsuYj5zm2VYRMn8wz3vF92SzGxD8w3N7ZIM="; 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 = { 37 description = "Allows to charge a flat fee on all orders"; 38 homepage = "https://github.com/pretix/pretix-servicefees"; 39 license = lib.licenses.asl20; 40 maintainers = with lib.maintainers; [ hexa ]; 41 }; 42}