1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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 { };