python311Packages.fints: 4.0.0 -> 4.1.0

Diff: https://github.com/raphaelm/python-fints/compare/v4.0.0...v4.1.0
This commit is contained in:
Robert Schütz 2024-03-28 16:47:02 -07:00 committed by Robert Schütz
parent 5f736f2ef1
commit 5634313f9f

View File

@ -2,6 +2,7 @@
lib,
buildPythonPackage,
pythonOlder,
setuptools,
fetchFromGitHub,
bleach,
mt-940,
@ -12,26 +13,36 @@
}:
buildPythonPackage rec {
version = "4.0.0";
version = "4.1.0";
pname = "fints";
disabled = pythonOlder "3.6";
pyproject = true;
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "raphaelm";
repo = "python-fints";
rev = "v${version}";
hash = "sha256-SREprcrIdeKVpL22IViexwiKmFfbT2UbKEmxtVm6iu0=";
hash = "sha256-1k6ZeYlv0vxNkqQse9vi/NT6ag3DJONKCWB594LvER0=";
};
propagatedBuildInputs = [
requests
mt-940
sepaxml
postPatch = ''
substituteInPlace setup.py \
--replace-fail "enum-tools~=0.9.0" ""
sed -i "/document_enum/d" fints/formals.py
'';
build-system = [ setuptools ];
dependencies = [
bleach
mt-940
requests
sepaxml
];
pythonImportsCheck = [ "fints" ];
nativeCheckInputs = [
pytestCheckHook
pytest-mock