1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
55 lines
954 B
Nix
55 lines
954 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
fetchFromGitHub,
|
|
bleach,
|
|
mt-940,
|
|
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;
|
|
maintainers = with lib.maintainers; [
|
|
dotlambda
|
|
];
|
|
};
|
|
}
|