python3Packages.fints: 3.0.0 -> 3.0.1

This commit is contained in:
Robert Schütz 2021-03-15 09:04:49 +01:00
parent 916ee862e8
commit 82f1a411cf

View file

@ -1,13 +1,14 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 { lib, buildPythonPackage, fetchFromGitHub, isPy27
, bleach , bleach
, mt-940 , mt-940
, pytest
, requests , requests
, sepaxml , sepaxml
, pytestCheckHook
, pytest-mock
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.0.0"; version = "3.0.1";
pname = "fints"; pname = "fints";
disabled = isPy27; disabled = isPy27;
@ -15,22 +16,17 @@ buildPythonPackage rec {
owner = "raphaelm"; owner = "raphaelm";
repo = "python-fints"; repo = "python-fints";
rev = "v${version}"; rev = "v${version}";
sha256 = "00fqgnmv7z6d792ga4cyzn9lrfjf79jplkssm2jbyb0akfggfj7h"; sha256 = "sha256-P9+3QuB5c7WMjic2fSp8pwXrOUHIrLThvfodtbBXLMY=";
}; };
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ]; propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
checkInputs = [ pytest ]; checkInputs = [ pytestCheckHook pytest-mock ];
# ignore network calls and broken fixture
checkPhase = ''
pytest . --ignore=tests/test_client.py -k 'not robust_mode'
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/raphaelm/python-fints/"; homepage = "https://github.com/raphaelm/python-fints/";
description = "Pure-python FinTS (formerly known as HBCI) implementation"; description = "Pure-python FinTS (formerly known as HBCI) implementation";
license = licenses.lgpl3; license = licenses.lgpl3Only;
maintainers = with maintainers; [ elohmeier ]; maintainers = with maintainers; [ elohmeier dotlambda ];
}; };
} }