summary refs log tree commit diff
path: root/pkgs/development/python-modules/sepaxml/default.nix
blob: bc46aa5198d1fd1bc6831d2017294dca59059d84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, lxml
, pytestCheckHook
, text-unidecode
, xmlschema
}:

buildPythonPackage rec {
  pname = "sepaxml";
  version = "2.5.0";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "raphaelm";
    repo = "python-sepaxml";
    rev = version;
    hash = "sha256-9gPUAZ60q5o11eAnkzTBrFCpBUGxw3MGuKY4MtPxoSA=";
  };

  propagatedBuildInputs = [
    text-unidecode
    xmlschema
  ];

  checkInputs = [
    lxml
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "sepaxml"
  ];

  meta = with lib; {
    description = "SEPA Direct Debit XML generation in python";
    homepage = "https://github.com/raphaelm/python-sepaxml/";
    license = licenses.mit;
    maintainers = with maintainers; [ elohmeier ];
  };
}