From 82f1a411cf85d02a58b056f27def653e97dec597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 15 Mar 2021 09:04:49 +0100 Subject: [PATCH] python3Packages.fints: 3.0.0 -> 3.0.1 --- .../python-modules/fints/default.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/fints/default.nix b/pkgs/development/python-modules/fints/default.nix index c4dfc04046b7..7972a9374c78 100644 --- a/pkgs/development/python-modules/fints/default.nix +++ b/pkgs/development/python-modules/fints/default.nix @@ -1,13 +1,14 @@ { lib, buildPythonPackage, fetchFromGitHub, isPy27 , bleach , mt-940 -, pytest , requests , sepaxml +, pytestCheckHook +, pytest-mock }: buildPythonPackage rec { - version = "3.0.0"; + version = "3.0.1"; pname = "fints"; disabled = isPy27; @@ -15,22 +16,17 @@ buildPythonPackage rec { owner = "raphaelm"; repo = "python-fints"; rev = "v${version}"; - sha256 = "00fqgnmv7z6d792ga4cyzn9lrfjf79jplkssm2jbyb0akfggfj7h"; + sha256 = "sha256-P9+3QuB5c7WMjic2fSp8pwXrOUHIrLThvfodtbBXLMY="; }; propagatedBuildInputs = [ requests mt-940 sepaxml bleach ]; - checkInputs = [ pytest ]; - - # ignore network calls and broken fixture - checkPhase = '' - pytest . --ignore=tests/test_client.py -k 'not robust_mode' - ''; + checkInputs = [ pytestCheckHook pytest-mock ]; meta = with lib; { homepage = "https://github.com/raphaelm/python-fints/"; description = "Pure-python FinTS (formerly known as HBCI) implementation"; - license = licenses.lgpl3; - maintainers = with maintainers; [ elohmeier ]; + license = licenses.lgpl3Only; + maintainers = with maintainers; [ elohmeier dotlambda ]; }; }