mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
56 lines
964 B
Nix
56 lines
964 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
setuptools,
|
|
fetchFromGitHub,
|
|
bleach,
|
|
mt-940,
|
|
requests,
|
|
sepaxml,
|
|
pytestCheckHook,
|
|
pytest-mock,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "4.2.0";
|
|
pname = "fints";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "raphaelm";
|
|
repo = "python-fints";
|
|
rev = "v${version}";
|
|
hash = "sha256-BM57Ov36DEJVH5DBm/mJife16iaFfjlQrF0IXRziM2A=";
|
|
};
|
|
|
|
pythonRemoveDeps = [ "enum-tools" ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
bleach
|
|
mt-940
|
|
requests
|
|
sepaxml
|
|
];
|
|
|
|
pythonImportsCheck = [ "fints" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-mock
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/raphaelm/python-fints/";
|
|
description = "Pure-python FinTS (formerly known as HBCI) implementation";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [
|
|
dotlambda
|
|
];
|
|
};
|
|
}
|