Merge pull request #146985 from fabaff/bump-sepaxml

python3Packages.sepaxml: 2.2.0 -> 2.4.1
This commit is contained in:
Fabian Affolter 2021-11-22 22:18:50 +01:00 committed by GitHub
commit 706f94d8b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,25 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 { lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, lxml , lxml
, pytest , pytestCheckHook
, text-unidecode , text-unidecode
, xmlschema , xmlschema
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2.2.0";
pname = "sepaxml"; pname = "sepaxml";
disabled = isPy27; version = "2.4.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "raphaelm"; owner = "raphaelm";
repo = "python-sepaxml"; repo = "python-sepaxml";
rev = version; rev = version;
sha256 = "1qmgdcz61hs65m2fddwn9jpyk2sxifdb0f3jz1n0lgy774z0pmas"; sha256 = "sha256-Up6zHm20tc6+lQk958csdgC4FMJFhdt+oAJcNcVbcjk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -22,15 +27,18 @@ buildPythonPackage rec {
xmlschema xmlschema
]; ];
checkInputs = [ pytest lxml ]; checkInputs = [
pytestCheckHook
lxml
];
checkPhase = '' pythonImportsCheck = [
pytest "sepaxml"
''; ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/raphaelm/python-sepaxml/";
description = "SEPA Direct Debit XML generation in python"; description = "SEPA Direct Debit XML generation in python";
homepage = "https://github.com/raphaelm/python-sepaxml/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ elohmeier ]; maintainers = with maintainers; [ elohmeier ];
}; };