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