1 { lib , buildPythonPackage, fetchFromGitHub, isPy27
10 buildPythonPackage rec {
13 format = "setuptools";
16 src = fetchFromGitHub {
20 sha256 = "05rsv16g7ph100p8kl4l2jba0y4wcpp3xblc02mfp67zp1279vaq";
23 propagatedBuildInputs = [ falcon requests ];
25 nativeCheckInputs = [ mock marshmallow pytestCheckHook numpy ];
28 substituteInPlace setup.py --replace '"pytest-runner"' ""
32 # some tests need the `hug` CLI on the PATH
33 export PATH=$out/bin:$PATH
37 # some tests attempt network access
38 "test_datagram_request"
40 # these tests use an unstable test dependency (https://github.com/hugapi/hug/issues/859)
41 "test_marshmallow_custom_context"
42 "test_marshmallow_schema"
44 "test_validate_route_args_negative_case"
48 description = "A Python framework that makes developing APIs as simple as possible, but no simpler";
49 homepage = "https://github.com/hugapi/hug";
50 license = licenses.mit;
51 # Missing support for later falcon releases