Files
nixpkgs/pkgs/development/python-modules/fints/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

58 lines
1002 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
setuptools,
fetchFromGitHub,
bleach,
mt-940,
requests,
sepaxml,
pytestCheckHook,
pytest-mock,
}:
buildPythonPackage rec {
version = "4.2.4";
pname = "fints";
pyproject = true;
disabled = pythonOlder "3.9";
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;
maintainers = with lib.maintainers; [
dotlambda
];
};
}