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