2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
2020-04-24 23:36:52 +00:00
|
|
|
, lxml
|
|
|
|
, pytest
|
|
|
|
, text-unidecode
|
|
|
|
, xmlschema
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "2.2.0";
|
|
|
|
pname = "sepaxml";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphaelm";
|
|
|
|
repo = "python-sepaxml";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1qmgdcz61hs65m2fddwn9jpyk2sxifdb0f3jz1n0lgy774z0pmas";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
text-unidecode
|
|
|
|
xmlschema
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytest lxml ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/raphaelm/python-sepaxml/";
|
|
|
|
description = "SEPA Direct Debit XML generation in python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
|
|
};
|
|
|
|
}
|