3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fints/default.nix

37 lines
850 B
Nix
Raw Normal View History

2019-08-01 22:27:08 +01:00
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27
, bleach
, mt-940
, pytest
, requests
, sepaxml
}:
2018-12-20 17:46:04 +00:00
buildPythonPackage rec {
2020-01-02 09:21:39 +00:00
version = "3.0.0";
2018-12-20 17:46:04 +00:00
pname = "fints";
2019-08-01 22:27:08 +01:00
disabled = isPy27;
2018-12-20 17:46:04 +00:00
2019-08-01 22:27:08 +01:00
src = fetchFromGitHub {
owner = "raphaelm";
repo = "python-fints";
rev = "v${version}";
2020-01-02 09:21:39 +00:00
sha256 = "00fqgnmv7z6d792ga4cyzn9lrfjf79jplkssm2jbyb0akfggfj7h";
2018-12-20 17:46:04 +00:00
};
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
2019-08-01 22:27:08 +01:00
checkInputs = [ pytest ];
# ignore network calls and broken fixture
checkPhase = ''
pytest . --ignore=tests/test_client.py -k 'not robust_mode'
'';
2018-12-20 17:46:04 +00:00
meta = with stdenv.lib; {
homepage = "https://github.com/raphaelm/python-fints/";
2018-12-20 17:46:04 +00:00
description = "Pure-python FinTS (formerly known as HBCI) implementation";
license = licenses.lgpl3;
maintainers = with maintainers; [ elohmeier ];
};
}