1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, pytestCheckHook
6, aiofiles
7, cbor2
8, ddt
9, gunicorn
10, httpx
11, hypercorn
12, jsonschema
13, msgpack
14, mujson
15, nose
16, orjson
17, pecan
18, pytest-asyncio
19, python-mimeparse
20, pyyaml
21, rapidjson
22, requests
23, testtools
24, ujson
25, uvicorn
26, websockets
27}:
28
29buildPythonPackage rec {
30 pname = "falcon";
31 version = "3.0.1";
32 format = "pyproject";
33 disabled = pythonOlder "3.5";
34
35 src = fetchPypi {
36 inherit pname version;
37 sha256 = "sha256-xB2E2zJYgahw6LcSnV7P2XL6QyPPd7cRmh0qIZZu5oE=";
38 };
39
40 checkInputs = [
41 aiofiles
42 cbor2
43 ddt
44 gunicorn
45 httpx
46 hypercorn
47 jsonschema
48 msgpack
49 mujson
50 nose
51 orjson
52 pecan
53 pytest-asyncio
54 pytestCheckHook
55 python-mimeparse
56 pyyaml
57 rapidjson
58 requests
59 testtools
60 ujson
61 uvicorn
62 websockets
63 ];
64
65 disabledTestPaths = [
66 # missing optional nuts package
67 "falcon/bench/nuts/nuts/tests/test_functional.py"
68 ];
69
70 meta = with lib; {
71 description = "An unladen web framework for building APIs and app backends";
72 homepage = "https://falconframework.org/";
73 license = licenses.asl20;
74 maintainers = with maintainers; [ desiderius ];
75 };
76
77}