2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
2019-08-01 21:28:44 +01:00
|
|
|
, lxml
|
|
|
|
, pytest
|
|
|
|
, text-unidecode
|
|
|
|
, xmlschema
|
|
|
|
}:
|
2018-12-20 17:45:23 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-09-29 00:16:09 +01:00
|
|
|
version = "2.2.0";
|
2018-12-20 17:45:23 +00:00
|
|
|
pname = "sepaxml";
|
2019-08-01 21:28:44 +01:00
|
|
|
disabled = isPy27;
|
2018-12-20 17:45:23 +00:00
|
|
|
|
2019-08-01 21:28:44 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphaelm";
|
|
|
|
repo = "python-sepaxml";
|
|
|
|
rev = version;
|
2019-09-29 00:16:09 +01:00
|
|
|
sha256 = "1qmgdcz61hs65m2fddwn9jpyk2sxifdb0f3jz1n0lgy774z0pmas";
|
2018-12-20 17:45:23 +00:00
|
|
|
};
|
|
|
|
|
2019-08-01 21:28:44 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
text-unidecode
|
|
|
|
xmlschema
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytest lxml ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
2018-12-20 17:45:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/raphaelm/python-sepaxml/";
|
2018-12-20 17:45:23 +00:00
|
|
|
description = "SEPA Direct Debit XML generation in python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
|
|
};
|
|
|
|
}
|