depot/third_party/nixpkgs/pkgs/development/python-modules/sepaxml/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

37 lines
742 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27
, 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
'';
meta = with stdenv.lib; {
homepage = "https://github.com/raphaelm/python-sepaxml/";
description = "SEPA Direct Debit XML generation in python";
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}