1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, lxml
6, pytestCheckHook
7, text-unidecode
8, xmlschema
9}:
10
11buildPythonPackage rec {
12 pname = "sepaxml";
13 version = "2.4.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchFromGitHub {
19 owner = "raphaelm";
20 repo = "python-sepaxml";
21 rev = version;
22 sha256 = "sha256-Up6zHm20tc6+lQk958csdgC4FMJFhdt+oAJcNcVbcjk=";
23 };
24
25 propagatedBuildInputs = [
26 text-unidecode
27 xmlschema
28 ];
29
30 checkInputs = [
31 pytestCheckHook
32 lxml
33 ];
34
35 pythonImportsCheck = [
36 "sepaxml"
37 ];
38
39 meta = with lib; {
40 description = "SEPA Direct Debit XML generation in python";
41 homepage = "https://github.com/raphaelm/python-sepaxml/";
42 license = licenses.mit;
43 maintainers = with maintainers; [ elohmeier ];
44 };
45}