2018-10-16 20:51:21 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, coverage
|
|
|
|
, ddt
|
|
|
|
, nose
|
|
|
|
, pyyaml
|
|
|
|
, requests
|
|
|
|
, testtools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "falcon";
|
2019-06-17 18:54:26 +01:00
|
|
|
version = "2.0.0";
|
2018-10-16 20:51:21 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-17 18:54:26 +01:00
|
|
|
sha256 = "eea593cf466b9c126ce667f6d30503624ef24459f118c75594a69353b6c3d5fc";
|
2018-10-16 20:51:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [coverage ddt nose pyyaml requests testtools];
|
|
|
|
|
|
|
|
# The travis build fails since the migration from multiprocessing to threading for hosting the API under test.
|
|
|
|
# OSError: [Errno 98] Address already in use
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An unladen web framework for building APIs and app backends";
|
2019-06-17 18:54:26 +01:00
|
|
|
homepage = "https://falconframework.org/";
|
2018-10-16 20:51:21 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|