python3.13-fints> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.13-fints> /nix/store/gkspnzkgarw4qvbl4670p3jcbgg6psrg-python3-3.13.6/lib/python3.13/socketserver.py:457: in __init__ python3.13-fints> self.server_bind() python3.13-fints> /nix/store/gkspnzkgarw4qvbl4670p3jcbgg6psrg-python3-3.13.6/lib/python3.13/http/server.py:136: in server_bind python3.13-fints> socketserver.TCPServer.server_bind(self) python3.13-fints> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.13-fints> python3.13-fints> self = <http.server.HTTPServer object at 0x10e9df4d0> python3.13-fints> python3.13-fints> def server_bind(self): python3.13-fints> """Called by constructor to bind the socket. python3.13-fints> python3.13-fints> May be overridden. python3.13-fints> python3.13-fints> """ python3.13-fints> if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"): python3.13-fints> self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) python3.13-fints> # Since Linux 6.12.9, SO_REUSEPORT is not allowed python3.13-fints> # on other address families than AF_INET/AF_INET6. python3.13-fints> if ( python3.13-fints> self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT") python3.13-fints> and self.address_family in (socket.AF_INET, socket.AF_INET6) python3.13-fints> ): python3.13-fints> self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) python3.13-fints> > self.socket.bind(self.server_address) python3.13-fints> E PermissionError: [Errno 1] Operation not permitted python3.13-fints> python3.13-fints> /nix/store/gkspnzkgarw4qvbl4670p3jcbgg6psrg-python3-3.13.6/lib/python3.13/socketserver.py:478: PermissionError python3.13-fints> =============================== warnings summary ===============================
58 lines
1004 B
Nix
58 lines
1004 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 = 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
|
|
];
|
|
};
|
|
}
|