My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/falcon/default.nix

78 lines
1.2 KiB

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pytestCheckHook
, aiofiles
, cbor2
, ddt
, gunicorn
, httpx
, hypercorn
, jsonschema
, msgpack
, mujson
, nose
, orjson
, pecan
, pytest-asyncio
, python-mimeparse
, pyyaml
, rapidjson
, requests
, testtools
, ujson
, uvicorn
, websockets
}:
buildPythonPackage rec {
pname = "falcon";
version = "3.0.1";
format = "pyproject";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xB2E2zJYgahw6LcSnV7P2XL6QyPPd7cRmh0qIZZu5oE=";
};
checkInputs = [
aiofiles
cbor2
ddt
gunicorn
httpx
hypercorn
jsonschema
msgpack
mujson
nose
orjson
pecan
pytest-asyncio
pytestCheckHook
python-mimeparse
pyyaml
rapidjson
requests
testtools
ujson
uvicorn
websockets
];
disabledTestPaths = [
# missing optional nuts package
"falcon/bench/nuts/nuts/tests/test_functional.py"
];
meta = with lib; {
description = "An unladen web framework for building APIs and app backends";
homepage = "https://falconframework.org/";
license = licenses.asl20;
maintainers = with maintainers; [ desiderius ];
};
}