2021-11-22 11:46:01 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
2019-08-01 22:28:44 +02:00
|
|
|
, lxml
|
2021-11-22 11:46:01 +01:00
|
|
|
, pytestCheckHook
|
2019-08-01 22:28:44 +02:00
|
|
|
, text-unidecode
|
|
|
|
, xmlschema
|
|
|
|
}:
|
2018-12-20 18:45:23 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sepaxml";
|
2021-11-22 11:46:01 +01:00
|
|
|
version = "2.4.1";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-12-20 18:45:23 +01:00
|
|
|
|
2019-08-01 22:28:44 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphaelm";
|
|
|
|
repo = "python-sepaxml";
|
|
|
|
rev = version;
|
2021-11-22 11:46:01 +01:00
|
|
|
sha256 = "sha256-Up6zHm20tc6+lQk958csdgC4FMJFhdt+oAJcNcVbcjk=";
|
2018-12-20 18:45:23 +01:00
|
|
|
};
|
|
|
|
|
2019-08-01 22:28:44 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
text-unidecode
|
|
|
|
xmlschema
|
|
|
|
];
|
|
|
|
|
2021-11-22 11:46:01 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
lxml
|
|
|
|
];
|
2019-08-01 22:28:44 +02:00
|
|
|
|
2021-11-22 11:46:01 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"sepaxml"
|
|
|
|
];
|
2018-12-20 18:45:23 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-12-20 18:45:23 +01:00
|
|
|
description = "SEPA Direct Debit XML generation in python";
|
2021-11-22 11:46:01 +01:00
|
|
|
homepage = "https://github.com/raphaelm/python-sepaxml/";
|
2018-12-20 18:45:23 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
|
|
};
|
|
|
|
}
|