pythonPackages.bjoern: init at 2.2.2

This commit is contained in:
Roger Qiu 2018-08-24 18:02:10 +10:00 committed by Frederik Rietdijk
parent 9064d9db00
commit 31554915a4
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, libev, python }:
buildPythonPackage rec {
pname = "bjoern";
version = "2.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "1w5z9agacci4shmkg9gh46ifj2a724rrgbykdv14830f7jq3dcmi";
};
buildInputs = [ libev ];
checkPhase = ''
${python.interpreter} tests/keep-alive-behaviour.py 2>/dev/null
${python.interpreter} tests/test_wsgi_compliance.py
'';
meta = with stdenv.lib; {
homepage = https://github.com/jonashaag/bjoern;
description = "A screamingly fast Python 2/3 WSGI server written in C";
license = licenses.bsd2;
maintainers = with maintainers; [ cmcdragonkai ];
};
}

View File

@ -16935,6 +16935,8 @@ EOF
black = callPackage ../development/python-modules/black { };
bjoern = callPackage ../development/python-modules/bjoern { };
autobahn = callPackage ../development/python-modules/autobahn { };
jsonref = callPackage ../development/python-modules/jsonref { };