30 buildPythonPackage rec {
34 disabled = pythonOlder "3.5";
36 src = fetchFromGitHub {
39 rev = "refs/tags/${version}";
40 hash = "sha256-7719gOM8WQVjODwOSo7HpH3HMFFeCGQQYBKktBAevig=";
45 ] ++ lib.optionals (!isPyPy) [
49 __darwinAllowLocalNetworking = true;
53 cp -R tests examples $TMPDIR
62 # https://github.com/falconry/falcon/blob/master/requirements/tests
81 ] ++ lib.optionals (pythonOlder "3.10") [
90 # needs a running server
91 "tests/asgi/test_asgi_servers.py"
92 ] ++ lib.optionals (pythonAtLeast "3.12") [
93 # ModuleNotFoundError: No module named 'distutils'
94 "tests/asgi/test_cythonized_asgi.py"
98 description = "An unladen web framework for building APIs and app backends";
99 homepage = "https://falconframework.org/";
100 license = licenses.asl20;
101 maintainers = with maintainers; [ desiderius ];