nixpkgs/pkgs/development/python-modules/fints/default.nix

33 lines
764 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, isPy27
2019-08-01 21:27:08 +00:00
, bleach
, mt-940
, requests
, sepaxml
2021-03-15 08:04:49 +00:00
, pytestCheckHook
, pytest-mock
2019-08-01 21:27:08 +00:00
}:
2018-12-20 17:46:04 +00:00
buildPythonPackage rec {
2021-03-15 08:04:49 +00:00
version = "3.0.1";
2018-12-20 17:46:04 +00:00
pname = "fints";
2019-08-01 21:27:08 +00:00
disabled = isPy27;
2018-12-20 17:46:04 +00:00
2019-08-01 21:27:08 +00:00
src = fetchFromGitHub {
owner = "raphaelm";
repo = "python-fints";
rev = "v${version}";
2021-03-15 08:04:49 +00:00
sha256 = "sha256-P9+3QuB5c7WMjic2fSp8pwXrOUHIrLThvfodtbBXLMY=";
2018-12-20 17:46:04 +00:00
};
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
2021-03-15 08:04:49 +00:00
checkInputs = [ pytestCheckHook pytest-mock ];
2018-12-20 17:46:04 +00:00
meta = with 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";
2021-03-15 08:04:49 +00:00
license = licenses.lgpl3Only;
maintainers = with maintainers; [ elohmeier dotlambda ];
2018-12-20 17:46:04 +00:00
};
}