depot/third_party/nixpkgs/pkgs/development/python-modules/sepaxml/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

45 lines
813 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, lxml
, pytestCheckHook
, text-unidecode
, xmlschema
}:
buildPythonPackage rec {
pname = "sepaxml";
version = "2.4.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "raphaelm";
repo = "python-sepaxml";
rev = version;
sha256 = "sha256-Up6zHm20tc6+lQk958csdgC4FMJFhdt+oAJcNcVbcjk=";
};
propagatedBuildInputs = [
text-unidecode
xmlschema
];
checkInputs = [
pytestCheckHook
lxml
];
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 ];
};
}