3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
45 lines
811 B
Nix
45 lines
811 B
Nix
{ 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 ];
|
|
};
|
|
}
|