1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, coverage
5, ddt
6, nose
7, pyyaml
8, requests
9, testtools
10, six
11, python_mimeparse
12}:
13
14buildPythonPackage rec {
15 pname = "falcon";
16 version = "1.4.1";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "3981f609c0358a9fcdb25b0e7fab3d9e23019356fb429c635ce4133135ae1bc4";
21 };
22
23 checkInputs = [coverage ddt nose pyyaml requests testtools];
24 propagatedBuildInputs = [ six python_mimeparse ];
25
26 # The travis build fails since the migration from multiprocessing to threading for hosting the API under test.
27 # OSError: [Errno 98] Address already in use
28 doCheck = false;
29
30 meta = with stdenv.lib; {
31 description = "An unladen web framework for building APIs and app backends";
32 homepage = http://falconframework.org;
33 license = licenses.asl20;
34 maintainers = with maintainers; [ desiderius ];
35 };
36
37}