54 lines
956 B
Nix
54 lines
956 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
fetchFromGitHub,
|
|
bleach,
|
|
mt-940,
|
|
pretix-banktool,
|
|
requests,
|
|
sepaxml,
|
|
pytestCheckHook,
|
|
pytest-mock,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "4.2.4";
|
|
pname = "fints";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "raphaelm";
|
|
repo = "python-fints";
|
|
tag = "v${version}";
|
|
hash = "sha256-la5vpWBoZ7hZsAyjjCqHpFfOykDVosI/S9amox1dmzY=";
|
|
};
|
|
|
|
pythonRemoveDeps = [ "enum-tools" ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
bleach
|
|
mt-940
|
|
requests
|
|
sepaxml
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
pythonImportsCheck = [ "fints" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-mock
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/raphaelm/python-fints/";
|
|
description = "Pure-python FinTS (formerly known as HBCI) implementation";
|
|
license = lib.licenses.lgpl3Only;
|
|
inherit (pretix-banktool.meta) maintainers;
|
|
};
|
|
}
|