Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / fints / default.nix
blob7972a9374c78522e1ae8d5b572863083c113de52
1 { lib, buildPythonPackage, fetchFromGitHub, isPy27
2 , bleach
3 , mt-940
4 , requests
5 , sepaxml
6 , pytestCheckHook
7 , pytest-mock
8 }:
10 buildPythonPackage rec {
11   version = "3.0.1";
12   pname = "fints";
13   disabled = isPy27;
15   src = fetchFromGitHub {
16     owner = "raphaelm";
17     repo = "python-fints";
18     rev = "v${version}";
19     sha256 = "sha256-P9+3QuB5c7WMjic2fSp8pwXrOUHIrLThvfodtbBXLMY=";
20   };
22   propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
24   checkInputs = [ pytestCheckHook pytest-mock ];
26   meta = with lib; {
27     homepage = "https://github.com/raphaelm/python-fints/";
28     description = "Pure-python FinTS (formerly known as HBCI) implementation";
29     license = licenses.lgpl3Only;
30     maintainers = with maintainers; [ elohmeier dotlambda ];
31   };